Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 webform questions
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
2 webform questions
Divers
Thread ID:
00675854
Message ID:
00675854
Vues:
49
#1: How can I detect when a session expires, and then move the user to a page that shows the session has expired? I put the following code in the global.asax file:
    Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
        ' Fires when the session ends
        Server.Transfer("SessionExpired.aspx")
    End Sub
But nothing ever happened. I haven't changed any default settings and I think I read that by default the session expires after twenty minutes.


#2: Kinda of related. Is it possible to close the browser? For example. I have a employee screen. If they click the logoff button I'd like to close the browser. Right now I send them back to the login in screen.

Thanks
Kirk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform