Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logging user in and out
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Titre:
Logging user in and out
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597445
Message ID:
01597445
Vues:
52
Hello all, In my MVC app I would like to log ( in my database ) when the user opens the site and conversely closes it, I've managed to log when they open the site by putting code in the Application_Start() function but don't know where to put the log out code, I've tried the Application_End() but with erratic results ( i.e it sometimes fires ) where is the correct place to put the code ?
Regards,
Peter J. Kane



Pete
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform