The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Session timeouts

Discussion in 'General Discussion' started by kashif, Jun 10, 2004.

  1. kashif

    kashif Active Member

    Joined:
    Jul 11, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lahore
    Greetings,

    Hi all,
    I have a problem in my server. That many times this thing happens that session starts to timeout. I deleted the session files from /tmp and then restarted it. It works fine then. But after a while agains starts session timeout. Kindly can you tell me that how this can be solved. Why this happens. Is there any setting in apache to be set I have set in httpd.conf timeout to 600. Kindly provide me solution for it, this would be very nice of you all.

    Thankyou,

    Regards,
    Kashif
     
  2. kofi

    kofi Well-Known Member
    PartnerNOC

    Joined:
    Feb 3, 2004
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    From: http://www.modwest.com/help/kb5-58.html

    I'm not sure if this is what you are looking for?

    You can modify the php.ini:

    session.cookie_lifetime = 600
     
  3. kashif

    kashif Active Member

    Joined:
    Jul 11, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lahore


    Thanks for reply. I have checked this value in php.ini. The value for it is 0, which means until browser restarted. But still this problem accurs that session problem comes for all sites in the server that session timesout at once. After two to three seconds. Is there any issue which can be set.


    Thanks

    Kashif
     
  4. kofi

    kofi Well-Known Member
    PartnerNOC

    Joined:
    Feb 3, 2004
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    I'm not sure what the issue could be, you may want to take a look at the /tmp dir and see what is happening in there.

    Regards,
    Aaron
     
  5. kashif

    kashif Active Member

    Joined:
    Jul 11, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lahore
    In /tmp sess_ files are being created.
     
Loading...

Share This Page