Session Timeouts...

4 posts, 0 answers
  1. Stacy
    Stacy avatar
    116 posts
    Member since:
    Dec 2010

    Posted 18 Oct 2011 Link to this post

    My web.config timeout is set to 1 minute for testing.  I log in and view a page with a radgrid. The grid loads normally.
    I wait for 1 minute.  Then I click on a button on the radgrid and i get an error.

    I want to be able to redirect users to my login.aspx page.

    In an earlier thread you mention putting this in Login.aspx "Page_Init" function. 

    "Response.RedirectLocation = Request.Url.ToString();"

    But no redirect occurs.  Any ideas?
  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 20 Oct 2011 Link to this post

    Hello Stacy,

    Have you tried setting you Login timeout to the same amount of time as you Session timeout? I think that should do the trick.
  3. Stacy
    Stacy avatar
    116 posts
    Member since:
    Dec 2010

    Posted 20 Oct 2011 Link to this post

    Why would setting a login timeout have anything to do with this issue?  Im logged in, using a grid, want to redirect to login page when session times out but i get an error on the grid when doing a request.
  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 25 Oct 2011 Link to this post

    Hello Stacy,

    Are you trying to manually redirect to the login page? You can try handling the error through the ScriptManager and see if you can call your code for redirecting to the login page there.

    Best wishes,
    Iana Tsolova
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top