Re: Global.asax

From: Patrice (nobody_at_nowhere.com)
Date: 04/23/04


Date: Fri, 23 Apr 2004 14:01:22 +0200

This event doesn't arise when there is currently a http request. You can't
do that.

Instead Session.IsNewSession allows to know the user starts a new session.
What's happening for now (it could perhaps depend also on the authorization
scheme currently in use ?)

Patrice

"ruca" <ruuca@iol.pt> a écrit dans le message de
news:OOataCRKEHA.624@TK2MSFTNGP11.phx.gbl...
> Hi,
> How can I Redirect my web application to a page when a session ends? (I've
> set a timeout)
>
> I have this in my Global.asax in Session_End Event:
> Context.Response.Redirect("login.aspx")
>
> but it doesn't work
>
>
> --
> Programming ASP.NET with VB.NET
> Thank's (if you try to help me)
> Hope this help you (if I try to help you)
> ruca
>
>



Relevant Pages

  • Re: Major security issue?
    ... It seems to me that the session IDs have been ... would add some overhead to IIS because every HTTP request ... The other option of course is to not use cookieless ... sessions under the anonymous user configuration and rely ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reasons to choose CLISP over other free implementations
    ... session, but can be good for authentication data [with suitable ... each HTTP request. ... Or maybe even holds the same connection open ...
    (comp.lang.lisp)
  • Re: Major security issue?
    ... We have used cookieless sessions and what you say is true, ... client/server (ie. if connection broken, then the SSL session is invalid) so ... > would add some overhead to IIS because every HTTP request ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [PHP] Error message
    ... starts the output of the http request body after which no headers can be sent ... // Or maybe pass along the session id, ... cookie - headers already sent by (output started at ...
    (php.general)
  • Re: Global.asax
    ... This event doesn't arise when there is currently a http request. ... Instead Session.IsNewSession allows to know the user starts a new session. ... > Programming ASP.NET with VB.NET ...
    (microsoft.public.dotnet.framework.aspnet)

Loading