Hi,
Im currently working on my own forum system script (see my post in the General Forum for more info). Basically I want to keep people logged in once they have logged in so that when they close their browser and visit again they are still logged in.
What is the best way? Either to use cookies or some sort of other method? Also how is this done?
Thanks
Comments
setcookie ("authenticated", "yes"); for example
on the page after checking if there info id right then on a pgae you want to check if they are logged in you would put
if($_COOKIE["authenticated"] == 'yes'){
echo "you are logged in";
}else{
echo "You are ont logged in";
They aint too hard to use, a lot like sessions
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
setcookie(name, value, expire, path, domain);
Just for extra security
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
I will try again now.
Thanks
The Royal Ram
Thanks
The Royal Ram
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
The Royal Ram