Session Timeouts

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
iknownothing
Forum Contributor
Posts: 337
Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia

Session Timeouts

Post by iknownothing »

Hey guys, I have a session on my site, and i haven't allocated any timeout period, yet after a period of time the session is automatically destroyed, anyone know why?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That's how sessions work. They are temporary structures.

Have a look at the session.gc* directives: http://php.net/session
Post Reply