Follow us on Twitter!
Ideas are far more powerful than guns.
Monday, July 25, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 39
Guests Online: 36
Members Online: 3

Registered Members: 94708
Newest Member: Mariiofficial
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.