Last post Feb 09, 2011 08:53 AM by chandrabhan.singh
Feb 09, 2011 07:10 AM|chandrabhan.singh|LINK
I have a wired scenario in one of my ASP.net application.
I am using ASP.net membership with my custom "roleManager",
and having below tag in web.config to restrict any user not having role of "Keywords"(roles) to access "Keywords"(path) folder
<deny users="*" />
If any user with some other role allow to assess this URL (Keywords in this case) will be redirected to a custom- Access denied page.
Now things working fine but when I left my application with a inactivity of 30 min I am not able to visit the "Keywords", all the time I end up with the custom- Access denied page, if I close the browser, login again it start working fine.
Please help me in this case.
Thanks in advance
Feb 09, 2011 07:54 AM|raduenuca|LINK
What is your session timeout setting? You can increase it .
See here for some explanations:
Feb 09, 2011 08:38 AM|chandrabhan.singh|LINK
Thats a ton for your relpy, I have set
now the issue is after session timeout user redirects to the login page and after providing credientials the user is not able to access the path I have specified in <Location> tag inside web.config
if I set
it works fine. i.e. login in same IE will allow me to asses my pages.
Feb 09, 2011 08:44 AM|raduenuca|LINK
means no one will acces this location
means that unauthenticated users will not have access. Authenticated users only location.
Feb 09, 2011 08:53 AM|chandrabhan.singh|LINK
I have below tags in webconfig
for each folders/pages in my website to allow access to user having role specified in
Now things work fine, but when session timeouts, user redirectes to login page and after providing correct credentials if she tries to access pages inside folder say [RegisterSQLQuery.aspx] in this case, will redirects
to custom access design page.