Welcome Guest, Not a member yet? Register   Sign In
Setting session data in the controller
#2

[eluser]WanWizard[/eluser]
Nothing wrong with this code.

Are you using database sessions? If not, I see that you do a redirect after setting session data. This interrupts the output to the browser, which caused the cookie not to be send, so you will loose your session data.


Messages In This Thread
Setting session data in the controller - by El Forum - 08-18-2010, 04:45 AM
Setting session data in the controller - by El Forum - 08-18-2010, 07:21 AM
Setting session data in the controller - by El Forum - 08-18-2010, 07:46 AM
Setting session data in the controller - by El Forum - 08-18-2010, 10:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB