Results 1 to 5 of 5

Session id on admin login

This is a discussion on Session id on admin login within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I want to increase the amount of time that the session id/cookie is kept for the admin screen. Can anyone ...

      
  1. #1
    Lurker
    Join Date
    Apr 2004
    Posts
    3
    Rep Power
    0


    Default Session id on admin login

    I want to increase the amount of time that the session id/cookie is kept for the admin screen. Can anyone point me in the right direction?

    Thanks.

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    The DEFAULT PHP session "Garbage collection" (when it clears up session with no activaty) is 24 mins (1440 sec)
    In PHP.INI change:
    session.gc_maxlifetime = 1440

    to say - 1 hour:

    session.gc_maxlifetime = 3600

    This is not really suggested. What is suggested to to is to save what your doing evey 15 min or so (like when your using the ONLINE HTML or text editor) - this with "refresh" the session lifetime - then click your bowsers "back button" to return back where you was. Or do MOST of your editing OFF LINE and cut and paste it in or FTP it.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Apr 2004
    Posts
    3
    Rep Power
    0


    Default

    Thanks for your answer. This is what I was looking for. Can you tell me though please where to find the php.ini file, or is this something that needs to be set across the whole server?

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    PHP.INI is a SERVER based file not a "web" based file. You "may" have a local copy of php.ini if in a certain virutual servers setup (not all type are setup like that) - or has to be set for the WHOLE server.

    It is NOT really recommended to extend this... It is best to "save" what your doing or move / refresh your screen every 10-20 mins (which resets the session lifetime).
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    Lurker
    Join Date
    Apr 2004
    Posts
    3
    Rep Power
    0


    Default

    Thank you once again. However, please note, that I am talking specifically about the admin screen, which seems to be a different time-out from the rest of the site. Could this be possible? Will I be able to change this, as the staff seems to have to login every 10 minutes or so.

Similar Threads

  1. Admin Login
    By torweb in forum osCmax v2 Installation issues
    Replies: 16
    Last Post: 01-29-2010, 04:05 AM
  2. Admin Login Problem - my customer can't login, I can
    By pram0310 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 10-29-2004, 11:46 AM
  3. Admin losing session on form submit, returning to login
    By batyushki in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 10-27-2004, 03:22 PM
  4. Well crap... admin login not allowing login-no errors
    By tauras911 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-07-2004, 12:12 AM
  5. SSL Errors, Session Cookie, Session Cache, NOVICE Problems?
    By hanool in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-07-2003, 12:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •