Follow us on Twitter!
Society leans ever heavily on computers, if you have the power to take out computers you can take out society. - cubeman372
Wednesday, October 18, 2017
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 59
Guests Online: 59
Members Online: 0

Registered Members: 102501
Newest Member: R3v017
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.