Re: Is it possible to set a "timeout" url different than "loginurl"
From: The DeyWalker (thedeywalker@hotmail.com)
Date: 01/11/03
- Next message: The DeyWalker: "Re: Forms Authentication Problem"
- Previous message: The DeyWalker: "Re: Building and Configuring More Secure Web Sites Article on MSDN"
- In reply to: Adam Smith: "Is it possible to set a "timeout" url different than "loginurl""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "The DeyWalker" <thedeywalker@hotmail.com> Date: Fri, 10 Jan 2003 18:44:53 -0800
Try this:
In global.asax when you retrieve the ticket and decrypt (you are doing this,
right :) ), check the time on the ticket to see if it is expired. if it is,
you redirect to your "Session timed out" page. Remember to make this page
accessible to all: <allow users="*" />. If you don't do the redirect
yourself, forms auth will do it the loginUrl.
"Adam Smith" <adam2001usa@hotmail.com> wrote in message
news:cd587e4c.0212211932.7163b581@posting.google.com...
> I have my web security up and running and it works fine. The only
> thing is, that if the user goes to a protected page, I want to show
> him the login screen,
> but if he just times out I want to direct him to a "session expired"
> screen, or put some text into a label on the login screen to make them
> aware of this.
>
> Is this possible?
>
> Thanks in advance.
- Next message: The DeyWalker: "Re: Forms Authentication Problem"
- Previous message: The DeyWalker: "Re: Building and Configuring More Secure Web Sites Article on MSDN"
- In reply to: Adam Smith: "Is it possible to set a "timeout" url different than "loginurl""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|