• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution
    New

    PHP Session timing out too soon.

     We have a number of customer techs that need to keep a PHP session open for at least 6 hours. I have updated the php.ini file tags but it has no effect. Any suggestions would be really awesome.

    session.gc_maxlifetime = 21600
    session.cookie_lifetime = 21600

    1 ACCEPTED SOLUTION
    Helper V

    @midni9

     

    Hi there,

    Try memory_limit = 60M

    See if that works for your configuration ? if it throws no errors but not enough memory go up......

    Hope it works

    Mrsroadrunner Photography

    View solution in original post

    4 REPLIES 4
    Helper V

    @midni9

     

    Hi there,

    Try memory_limit = 60M

    See if that works for your configuration ? if it throws no errors but not enough memory go up......

    Hope it works

    Mrsroadrunner Photography

    View solution in original post

    mrsroadrunner, my techs are telling me that is working! thank you i appreciate your help!

    upload_max_filesize = "5M"
    post_max_size = "25M"
    memory_limit = "60M"
    session.gc_maxlifetime=86400
    session.cookie_lifetime =86400

     

    I have used this code... but still it is not working ! can any one help me out.....

    Where do you type your solution?