osCmax v2.5 User Manual
Results 1 to 6 of 6

Extending Admin login expiry time

This is a discussion on Extending Admin login expiry time within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; The Admin login expires after a certain time period, obviously this is necessary for security reasons, but how and where ...

      
  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default Extending Admin login expiry time

    The Admin login expires after a certain time period, obviously this is necessary for security reasons, but how and where can I extend the time limit?

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


    Default

    This is a PHP setting - normally times out after about 24 mins is the default (of inactivaty - with no pages loaded) .

    The simple thing is to refresh or use the back button every 10-15 mins...

    Or change your SERVERS php.ini file and look for and change the follwing:

    session.gc_maxlifetime = 1440
    (in Seconds - default 24 min=1440 sec)

    to something like:

    session.gc_maxlifetime = 3600
    (1 hour)

    I would NOT recommend increasing this much more than that.

    Good Luck!
    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
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    With MS2-MAX running locally on IIS I get page refresh problems and I get into a situation where eg access to a category page requires me to login again and it ends up in a loop, I cannot gain access to that page.

  4. #4
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    I think the thread below is the same problem
    Admin losing session on form submit, returning to login:
    http://oscdox.com/index.php?name=PNp...ight=login+iis

    I have to open a new browser and login again to be able to access the particular page.

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


    Default

    If you have verified all your setting in both configure.php files are correct - (cookies are configured correctly and tried force cookies on/off - and tried store session in "mysql") and still happends --- then it might be a PHP bug. Check your version of PHP to make sure it is the most recent "stable" version.
    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!

  6. #6
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default

    Increasing session.gc_maxlifetime has helped, thanks.
    My version of php is 4.2.3.
    My sessions are being stored in the database.
    The configuration settings appear to be fine, it's a timeout and refresh issue.
    I find IIS returns to cached pages eg when updating products and this can cause a loss of data.

Similar Threads

  1. Admin Login
    By torweb in forum osCmax v2 Installation issues
    Replies: 16
    Last Post: 01-29-2010, 03:05 AM
  2. Disabling automatic logoff feature or extending timer
    By kwiznoz in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 09-14-2005, 05:03 PM
  3. 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, 10:46 AM
  4. Well crap... admin login not allowing login-no errors
    By tauras911 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-06-2004, 11:12 PM
  5. DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!!
    By norb in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 03-29-2004, 09:01 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
  •