Alpha DevCon 2018
Results 1 to 5 of 5

Thread: Session expiration clarification

  1. #1
    Member
    Real Name
    Mark Williams
    Join Date
    Dec 2005
    Posts
    298

    Default Session expiration clarification

    I have had requests from a couple of clients requesting our application to not expire so rapidly. They prefer to stay logged in for several hours at a time.

    This isn't a security issue with our app as it is read only and for reference only.

    What is the default timeout time when security is set to 'Expires when current session expires?

    Can I get around this by changing this setting to 'Defined time after initial login and set it to 8 hours? When I do this it displays a warning about session variables which I do not understand.

    Thanks

  2. #2
    Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,545

    Default Re: Session expiration clarification

    The session lifetime is set under the sessions tab in the application server. Set it to as many seconds as you like. The default is 900 which is 15 minutes. If you want it to be 8 hours, set it to 8X60X60 = 28,800.

    Remember that session activity lifetime is the length of inactivity defined as the time between AJAX callbacks. So if the last callback (query for example) is at 4:00pm, and they don't logout but go home. Then an 8-hr session lifetime will expire at midnight.

  3. #3
    Member
    Real Name
    Mark Williams
    Join Date
    Dec 2005
    Posts
    298

    Default Re: Session expiration clarification

    Quote Originally Posted by Peter.Greulich View Post
    The session lifetime is set under the sessions tab in the application server. Set it to as many seconds as you like. The default is 900 which is 15 minutes. If you want it to be 8 hours, set it to 8X60X60 = 28,800.

    Remember that session activity lifetime is the length of inactivity defined as the time between AJAX callbacks. So if the last callback (query for example) is at 4:00pm, and they don't logout but go home. Then an 8-hr session lifetime will expire at midnight.
    Thanks Peter - exactly what I was looking for...

  4. #4
    Member
    Real Name
    Rajen Kalauni
    Join Date
    Apr 2016
    Location
    New Delhi,India
    Posts
    44

    Default Re: Session expiration clarification

    Hi Peter,

    I am using Alpha 5 v12 developer version. I can't find session tab.development_server.png .

    It has development server rather than app server. I have increased session lifetime to 30 mins. Its working when publishing locally but can't increase session life time when publishing in remote Alpha Application server for IIS.

    Do I need different setting for session in remote server ? Plz I am waiting for your reply.
    Thanks

  5. #5
    Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,545

    Default Re: Session expiration clarification

    You have to set it on the server.

Similar Threads

  1. Session Expiration
    By Phil Rolf in forum Application Server Version 8
    Replies: 8
    Last Post: 10-05-2012, 02:18 PM
  2. Idea sharing - Using timer to force session expiration
    By kingcarol in forum Application Server Version 10 - Web/Browser Applications
    Replies: 12
    Last Post: 06-23-2011, 07:16 AM
  3. No redirection on session expiration
    By Dan_Foster in forum Application Server Version 10 - Web/Browser Applications
    Replies: 6
    Last Post: 01-16-2011, 05:22 PM
  4. Force password expiration
    By David Farr in forum Alpha Five Version 5
    Replies: 0
    Last Post: 08-04-2003, 12:58 PM
  5. A5V5 BETA EXPIRATION
    By nehru albania in forum Alpha Five Version 4
    Replies: 2
    Last Post: 05-20-2002, 09:44 AM

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
  •