bionicblakey
asked on
Session problems on busy server
Hello
On our server, we allow users only a certain amount of time to complete a transaction.
The time is tracked in a session.
When the server has a heavier load than usual, the sessions expire early!
What is causing this ?
Thanks.
On our server, we allow users only a certain amount of time to complete a transaction.
The time is tracked in a session.
When the server has a heavier load than usual, the sessions expire early!
What is causing this ?
Thanks.
ASKER
hmm.
Would it then need to pass info to the PHP app?
Also, what if the client has javascript turned off?
Would it then need to pass info to the PHP app?
Also, what if the client has javascript turned off?
Good point, with javascript turned off that would be a problem.
If it was turned on, when time runs out the page could be redirected.
Joe P
If it was turned on, when time runs out the page could be redirected.
Joe P
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
well..
i don't think that will work either...
the process takes the user over many different pages
in terms of PHP sessions, is there a way to lock them to make sure they remain in tact?
i don't think that will work either...
the process takes the user over many different pages
in terms of PHP sessions, is there a way to lock them to make sure they remain in tact?
as long as you put a session_start(); at the top of each
page, the session varibles will follow them.
Also, you can set the meta tag with a variable in it for the url so
that it can change.
--brian
page, the session varibles will follow them.
Also, you can set the meta tag with a variable in it for the url so
that it can change.
--brian
Joe P