Re: Session_End Pop Up



Session_End is a server side event. There is no way to communicate anything
back to the client. HTTP is stateless. Once the user received the results of
their request, that's it. There is no way to send any data to the user.
There is no way to pop open windows, or redirect them, or anything like
that.

You can either wait until their next request, see that they have a new
session, or are not authenticated, or whatever, and then either redirect
them, or send down javascipt to pop open a new page.

Or, you can have a javascript timer going off after the page loads that
waits until the same amount of time has passed as the length of the session,
and then does a redirect or whatever.

"chuckdfoster" <chuckdfoster@xxxxxxxxxxx> wrote in message
news:uA%231HqzBGHA.1008@xxxxxxxxxxxxxxxxxxxxxxx
>I want a pop up to appear when the user's session ends. I've tried putting
>some code in the Session_End sub in the global.asax, but must be using
>wrong code or something. I could also just redirect them to a "timed out"
>page, but I can't get that to work either. Can anyone help?
>
> Thanks,
>
>
> --
> Chuck Foster
> Programmer Analyst
> Eclipsys Corporation - St. Vincent Health System
>


.



Relevant Pages

  • Help Needed: Cant Successfully Perform Server-side Redirection
    ... The only problem that I really have is session timeouts. ... situations and redirect the user to the Logon page. ... If Not IsLogonPage And Not IsLogOffPage Then ... Dim ExpirationInterval As Integer = Settings.TimeoutMinutes ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: session value lost
    ... >into as sessionvariable (username). ... So I redirect to my search.aspx. ... >I save the recordid to the session and redirect to work.aspx. ... >new sqlstring I fetch the data from the sqlserver. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Losing Session vars on Redirect - HELP
    ... Have you checked the event log to make sure something in the redirect isn't ... causing the site to crash and therefore restart the ASP.NET worker process / ... starts a new session, but about 20% its just fine. ... Overriding the browsers cookie ...
    (microsoft.public.dotnet.general)
  • Re: how to time out the web asp.net application when not in use for 15 minutes
    ... I really think you'll have an easier time adopting Forms authentication. ... > when the session is time out asp.net application goes to session_end ... > How do I redirect now? ... >> there's no request, there's no where to transfer to. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Domain Redirect - loses session variables
    ... I purchased this Domain from DirectNic and they have the option to redirect ... with no frame which works like a charm. ... Session variables are saved and it works great! ... >>> from one domain to the other through some shared data storage. ...
    (comp.lang.php)