Welcome Guest, Not a member yet? Register   Sign In
Need help reducing database requests to check if a user is logged in
#3

[eluser]zsoerenm[/eluser]
[quote author="stef25" date="1261846486"]Or you could store it in a normal session cookie and if they delete cookies then they are also logged out. This is very common on a lot of sites.[/quote]

Yes but what is if they create cookie with logged_in as true when they have not logged in with a username and password?

What about storing this value in $_SESSION? This values are saved on the server, aren't they? What is the purpose of saving it in a extra database?


Messages In This Thread
Need help reducing database requests to check if a user is logged in - by El Forum - 12-26-2009, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB