Re: Global.asax
From: Patrice (nobody_at_nowhere.com)
Date: 04/23/04
- Next message: Cor Ligthert: "Re: Regarding Block level Scope & Variable Life Time"
- Previous message: Peter van der Goes: "Re: Quick question about ByVal and ByRef when passing objects"
- In reply to: ruca: "Global.asax"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Cor Ligthert: "Re: Regarding Block level Scope & Variable Life Time"
- Previous message: Peter van der Goes: "Re: Quick question about ByVal and ByRef when passing objects"
- In reply to: ruca: "Global.asax"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|