Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time limit sessions in PHP4?

Status
Not open for further replies.

Naits

Programmer
Oct 10, 2001
90
0
0
NO
Is there a way to time limit the session's in PHP4?
 
Yes and no.

Check out the runtime configuration directives, session.cookie_lifetime, session.gc_maxlifetime, and session.gc_probability. These set when cookies expire. The one that you will probably want to set is session.cookie_lifetime. Every time you use a cookie its storage is updated, so if you keep using a session, it will never expire. session.cookie_lifetime is arbitrary ______________________________________________________________________
Perfection in engineering does not happen when there is nothing more to add.
Rather it happens when there is nothing more to take away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top