PHP Session_Status() Questions

Status
Not open for further replies.

addozone

Member
Messages
64
Reaction score
3
Points
8
Two questions, I'll keep 'em short:

1. I read in other threads that the X10 php session inactivity timeout for free hosting sites is the php default of exactly 24 minutes and we can't change that. Can anyone confirm if this is correct or incorrect? Not a problem, just need to know.

2. When a php session times out, should I expect the session_status() value to be updated, or will it be left at 2? I don't know if that is an X10 question or a php question ...just looking for some X10 wisdom.

Cheers.
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
I can mostly answer question 1. The session.gc_maxlifetime value (local and master) is 1440(/60 seconds = 24 min.). I'm 99.9% sure we cannot change this.
 

addozone

Member
Messages
64
Reaction score
3
Points
8
I can mostly answer question 1. The session.gc_maxlifetime value (local and master) is 1440(/60 seconds = 24 min.). I'm 99.9% sure we cannot change this.
.
Thanks for the quick response. Just to make sure we're talking about the same thing, I can be active on my site for long periods of time and my session will keep going (because I keep triggering those session_starts()). But when it's idle, the 24 minute timer is ticking. Correct?
 
Status
Not open for further replies.
Top