Re: Is it possible to set a "timeout" url different than "loginurl"

From: The DeyWalker (thedeywalker@hotmail.com)
Date: 01/11/03


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.



Relevant Pages

  • Re: Can/should Status field be on Parent table in 1 to many Relationship?
    ... You should be able to use a TOP 1 subquery to retrieve the most recent ... I'd quite likely use a Form in a Subform ... to show all the Action history for the ticket, which might be helpful to the ...
    (comp.databases.ms-access)
  • RE: Using text in a Form to run a Query
    ... The SQL would look something like below. ... My problem is that in the future I may have to retrieve these fields. ... work if I try to retrieve multiple ticket numbers. ... query SQL looks like: ...
    (microsoft.public.access.queries)
  • RE: Forms Authentication: Invalid value for encryptedTicket paramete
    ... a null in the userdata portion of the ticket. ... For some reason, my db query to ... retrieve the roles is returning a null. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: kerberos question
    ... Subject: kerberos question ... retrieve a ticket? ... Ticket file: /tmp/tkt0 ... 2504-076 Kerberos V4 ticket file was not found ...
    (AIX-L)
  • Re: Follow-up to Empty 529 Events in Security Log
    ... decrypt the tickets; I'll ask around. ... Logon Failure: ... Caller User Name: - ... ticket can't be decrypted (and therefore the machine performing the ...
    (microsoft.public.windows.server.security)