Welcome Guest, Not a member yet? Register   Sign In
Keeping the cart information when login and logging out
#4

[eluser]WanWizard[/eluser]
Do you use cookies for your session, or a database table?

I don't see real issues, providing that you delete all userdata (or any other data that relates to the user being logged in) that belongs to that user from the session when the user logs out (p.e. like user_pass, user_email, etc). I think the session_destroy() is just a very lazy way of accomplishing just that...


Messages In This Thread
Keeping the cart information when login and logging out - by El Forum - 04-14-2010, 08:56 AM
Keeping the cart information when login and logging out - by El Forum - 04-14-2010, 10:23 AM
Keeping the cart information when login and logging out - by El Forum - 04-14-2010, 11:29 AM
Keeping the cart information when login and logging out - by El Forum - 04-14-2010, 12:03 PM
Keeping the cart information when login and logging out - by El Forum - 04-14-2010, 12:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB