Re: redirect user to login after page has expired asp.net 2.0
- From: "j-in-uk" <jessnair@xxxxxxxxx>
- Date: 12 Jul 2006 12:23:28 -0700
Hi,
With forms authentication i have to specify the login etc. in the
web.config file, which I don't really want. This must only be applied
for about three pages of the site and then other pages from the site
also have different expiries. Do i create an
application["HRPages"] ?
Peter wrote:
If you are using Forms Authentication and have set the timeout as you desire,
then if sombody leaves a page open and goes out for a nice spaghetti dinner,
when they come back they should automatically be redirected to the login page.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"j-in-uk" wrote:
Hi,
I'm using the login control for asp.net 2.0.
Once a user logs in I want to set timeouts for certain pages not the
whole app,
so if the page they on has expired I want to redirect the user back to
login page.
I got the login control to work but need to know how to do the rest.
Do I use the Response.Cache.SetCacheability etc.
Any examples?
thanks
.
- Follow-Ups:
- Re: redirect user to login after page has expired asp.net 2.0
- From: Peter Bromberg [C# MVP]
- Re: redirect user to login after page has expired asp.net 2.0
- References:
- Prev by Date: Re: Asynchronous Stored Procedure Never Returns - Help?
- Next by Date: Drag Drop Onto DataGridView
- Previous by thread: redirect user to login after page has expired asp.net 2.0
- Next by thread: Re: redirect user to login after page has expired asp.net 2.0
- Index(es):
Relevant Pages
|
Loading