The server doesn't send an event to the browser. Would be
nice in theory if it did.  So putting a redirect in the OnEnd event
will not work, and probably did not work for those who you
said you saw put in their pages.

Chris Tifer
Mic Club - The Curriculum / Nov. 19th


----- Original Message -----
From: "Imad Jradi" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 12:57 PM
Subject: RE: Session _OnEnd


> Thanls for the reply.
> I have see people insert redirect in the session_onend sub. I don't knwo
if
> it worked for them. I am using a refresh in my header, but I just that I
> could do that on the server when the session times out.
> Imad
>
>
> >From: "Timothy Owen" <[EMAIL PROTECTED]>
> >Reply-To: "ActiveServerPages" <[EMAIL PROTECTED]>
> >To: "ActiveServerPages" <[EMAIL PROTECTED]>
> >Subject: RE: Session _OnEnd
> >Date: Sun, 3 Nov 2002 18:57:14 -0600
> >
> >response.redirect is used in code execution when the browser requests
> >something.  To do what you are attempting I believe you will need to use
> >browser executed vb or javascript.
> >
> >-----Original Message-----
> >From: Imad Jradi [mailto:jradi@;hotmail.com]
> >Sent: Sunday, November 03, 2002 6:36 PM
> >To: ActiveServerPages
> >Subject: Session _OnEnd
> >
> >I set the session timeout in my Session_OnStart sub, and that works
> >fine. I
> >need to redirect the user to the logout page when the session times out.
> >
> >When I inserted the response.redirect in my Session_OnEnd, I kept
> >getting
> >Response object error. Any ideas?
> >Thanks
> >
> >
> >
> >
> >
> >
> >_________________________________________________________________
> >Get a speedy connection with MSN Broadband. Join now!
> >http://resourcecenter.msn.com/access/plans/freeactivation.asp
> >
> >
> >---
> >You are currently subscribed to activeserverpages as:
> >[EMAIL PROTECTED]
> >To unsubscribe send a blank email to
> >%%email.unsub%%
> >
> >
> >---
> >You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> >To unsubscribe send a blank email to
> >%%email.unsub%%
>
>
> _________________________________________________________________
> Internet access plans that fit your lifestyle -- join MSN.
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to