Welcome Guest, Not a member yet? Register   Sign In
How to redirect with destroyed cookies
#1

How to redirect with destroyed cookies?

Code:
return redirect('/some_path')->deleteCookie('name')


Cookies are only invalidated after the second refresh of the page.
Reply
#2

Use sessions for redirecting.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB