Re: [PHP] Session problem



Dušan Novaković wrote:
Does no one have some solution or suggestion?

Dušan


On 9/29/07, Dušan Novaković <ndusan@xxxxxxxxx> wrote:
Hm..

I don't know that. I have also another application on the same server,
and I haven't encountered problems of the same kind. I don't know
whether these problems don't happend at all on this other application,
or I just haven't come across one. :-(

Dušan


On 9/28/07, Jim Lucas <lists@xxxxxxxxx> wrote:
Dušan Novaković wrote:
Hi,

I have two problems with sessions.

Firstly, even though session limit is set on default value on server,
which is about 5 hours, if I don't take any action for about 15 mins I
am thrown out and I have to log in again. Are there any addition
functions which I can use in order to explicitly specify session
lifetime?

Secondly, after a certain period of time, while I am logged in, page
just freezes and it indicates that it is trying to load. Page stays
frozen all the time. At that moment, the only solution is to clear
private data in the browser. After that, I am logged out and I can
regulary log in and procede to work normally. It doesn't happend evry
time I log in, but once in while.

I have only used functions such as session_start() and session_destroy.

Thanks for your help,
Dušan

- -
made by Dusan
sounds like a problem with the hosting provider.

Is this a single server that you have your web site on, or is it a farm of servers?

--
Jim Lucas

"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare



--
made by Dusan




I would have the host then double check the config. Make sure the location where the session files are being written to is writable by the php user.

Have them compare the two configs between the different sites. See if anything besides the document root is different.

Or, upgrade to a dedicated host and run the web server your self.

--
Jim Lucas


"Perseverance is not a long race;
it is many short races one after the other"

Walter Elliot



"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare
.



Relevant Pages

  • Re: [PHP] Session problem
    ... Firstly, even though session limit is set on default value on server, ... Is this a single server that you have your web site on, or is it a farm of servers? ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: [PHP] new xampp server problem w/mail
    ... Ian Lin wrote: ... customer's server. ... I have a fairly new xampp install and I need to know how to get mailto ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: [PHP] Double click problem
    ... The initial problem that I see with it would be that if the user clicks the submit button a second time, the first transaction is canceled. ... If the process takes a long time, maybe the time period for the server to get the approval has already passed, but the server is still doing stuff but not redirected the person to the success page. ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: [PHP] moved code to a new server
    ... I wonder why on the old server it could find the file based on the full url while the new server cannot find the file with the full url. ... [PHP] moved code to a new server ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: RWW Timing
    ... I understand that you want to monitor when and how ... > to an internal Windows XP or Terminal Server computer. ... SBS creates a connection to the internal client on port 3389 which is ... But it can not tell which one session from the RWW, ...
    (microsoft.public.windows.server.sbs)