Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redirecting a User when session timeouts.
Message
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00228728
Message ID:
00229731
Vues:
12
Sounds like a good idea. You would think that you would at least get an error message when you try to do a response.redirect from the Session_Onend event. I haven't done anything else with this thread. I am in the middle of creating my first RDS App (Order Entry Application). What I would like to happen is: If the user leaves in the middle of entering and/or editing an order, I want the browser sitting on a page that states "the session timedout and all information was lost......." when the user gets back.

Anyway, let me know if you figure something out.

>Can you even see the timeout occur?

The only thing I have been able to do is check for the existance of the session object: isObject(Session)).

>
>I tried to do the redirect in the Session_OnEnd event but, unfortunately, the response object does not exist at that time. But I did see the session timeout when I saw IE give me an error in the code due to the aforementioned problem.
>
>Maybe there's a way to create an IE object instance at the end of a session to call up the browser with the URL or page you want to send them to....
>
>If I get it to work I'll let you know...
>
>Michael
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform