Donate to us!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Tuesday, May 22, 2018
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 97
Guests Online: 95
Members Online: 2

Registered Members: 105255
Newest Member: godtarak
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.