Results 1 to 3 of 3

Thread: Session and timeout

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Session and timeout

    I have a session time of 20 min. How do I make an information to the user when the session is exceeded and telling him to login once more?
    The way I have done it now only transfers the user to login side, not telling him that the session is exceeded.
    This is done applying this code in the web.config:
    Code:
    <authentication mode="Forms"> 
    		<forms name=".hpl" loginUrl="login.aspx" protection="All" timeout="20" />
    	</authentication>

  2. #2
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    You could create 2 login pages.

    The first is the one the users log into initially and the second one containing the message is the one they get redirected to after a session time out.

    Probably not the best way to do it but it would be easy to implement and would work.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049
    Hmmm, when using the authentication tag the loginurl will always be shown if you haven't made a succesful login, so I think it's impossibe to have to login pages.

Posting Permissions

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



Click Here to Expand Forum to Full Width