CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Posts
    242

    timeout (session?)

    My web application starts from a login page that enables authorized people to use the system.

    I tryed to define a timeout session after which no more browsing will we alowed (a new login process will be required).

    But it seems like I have to check the session timeout state in each page I load (and I got too much of them).

    Isn't there a way to redirect to the login page after the time is up. Or at least disable the browsing?

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    You can set the session timeout in the Web.Config file. After the timeout expires, they should see a "Page is no longer Available" (or something similar) message.

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

Featured