Donate to us!
You cannot teach a man anything; you can only help him find it within himself. - Galileo
Friday, December 15, 2017
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 82
Guests Online: 82
Members Online: 0

Registered Members: 103414
Newest Member: MGlolenstine
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

PHP sessions


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 15-07-06 21:05
I have made a PHP/MySQL login script that sets some session variables when you sucessfully log in. If the browser is closed, you have to log in again, is there any way I can make it so that you only have to login again if you logout?


Author

RE: PHP sessions


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 15-07-06 22:15
Sessions are destroyed as soon as the browser is closed, if you would like the user to stay logged in, you woul have to use some other method such as cookies.


Author

RE: PHP sessions


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 15-07-06 22:41
ok, thanks.