hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : php ini timout
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

php ini timout

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-08-2006, 01:19 AM
UnrealSilence UnrealSilence is offline
Disabled
 
Join Date: Jan 2006
Posts: 907

php ini timout


Which line/section in php.in would I change for session timeout to 45 minutes?

Reply With Quote


Sponsored Links
  #2  
Old 03-08-2006, 03:26 AM
InstaCarma_Rose InstaCarma_Rose is offline
Junior Guru
 
Join Date: Mar 2006
Posts: 221
This can be set by editing the line below in php.ini, and setting it to the value 2700 seconds (45 minutes).

session.gc_maxlifetime = 2700 ; after this number of seconds, stored
; data will be seen as 'garbage' and
; cleaned up by the gc process

Dont forget to restart Apache after making this change

Regards,
Rose
rose@instacarma.com

__________________
Regards,
Rose [rose@instacarma.com]
InstaCarma.com
24x7 Technical Support and Server Management

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?