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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php timeout

Status
Not open for further replies.

plork123

Programmer
Mar 8, 2004
121
GB
hi all, please can someone tell me what i need to do to set the idle timeout in php?

many thanks for any help
 
thanks for the info

do you have a simple test i can do to see if this works. i'm not familair with php and not sure how to create a siple file that will timeout and go back to a login page for eample

many thanks
 
The previous answer I gave you was wrong. Sorry about that -- I simply misread your question. My previous answer would adjust how long PHP will allow a script to run.


What kind of idle timeout are we talking about here? Session variables? Cookies?



Want the best answers? Ask the best questions! TANSTAAFL!
 
Simple cookie timeouts are handled by setting an expiry date/time on the cookie when it is set.

But session variables by default use cookies, too, to store the session ID. How and when session variables expire are more complicated. See faq434-4908



Want the best answers? Ask the best questions! TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top