Welcome Guest, Not a member yet? Register   Sign In
Session and Cookies
#1

[eluser]Ajaxian64[/eluser]
Hi,
I have a general question/remark.
---
I need session for authentification. And I would like to filter access (to some controller actions) thanks to session.
I also need flash data for quick messages
---
I do not understand why we need to use Session for flash message.
Due to this I have to set up Session for msg purpose and then when I test whether a session exist it saids me yes, and for sure it exists, but for message purposes not really for Auth purpose...
---
Am I wrong when I said that It would have been better to use 2 different mechanisms.
My feeling would be to use cookies for messages and Session for Auth (and only for this)


Messages In This Thread
Session and Cookies - by El Forum - 07-01-2010, 08:45 AM
Session and Cookies - by El Forum - 07-01-2010, 09:39 AM
Session and Cookies - by El Forum - 07-01-2010, 10:11 AM
Session and Cookies - by El Forum - 07-01-2010, 10:41 AM
Session and Cookies - by El Forum - 07-01-2010, 11:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB