locked
page redirects to login page RRS feed

  • Question

  • User303397390 posted

    hi
     
    i have a web application when we click first time on any page it redirect to the log in page, 
    when i log in again i can access the page and it works fine it is only giving error when i'm hosting it on IIS
     
    i'm using 
    iis 8
    asp.net 4.0
    os: sql server 2012

    m using form authentication the user can see the login page before login and once he logs in and tries to go the next page he is redirected to the login page again again he enter the credentials the page works fine but when i restart the server the error cones again

    web key

    <identity impersonate="true" />
    <authentication mode="Forms">
    <sessionState timeout="180" />

    Saturday, October 5, 2013 12:38 AM

All replies

  • User-1315512054 posted

    Hello,

    If this happens then the session expires. You should increase the application pool timeout in the IIS - Web Site properties. Most of the shared ASP.NET hosting companies decreased this value to save server resources.

    Regards

    Saturday, October 5, 2013 4:32 AM
  • User303397390 posted

    i have give it 3 hrs

    Saturday, October 5, 2013 4:47 AM
  • User-1913497086 posted

    increase Session time out

    Saturday, October 5, 2013 8:40 AM