Session management
- 06 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
Session management
- Mis à jour le 06 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
Administration commands require a session ID to be kept and passed to all administration requests. Furthermore, the administration object must be defined for each user’s session. Upon successful logon, the administration object must keep a record of the session ID returned at logon.
Ensure that upon successful login the AdministrationHandler object is put into the HTTP session. The following commands can be used to manage the session ID:
AdministrationHandler handler = new AdministrationHandler();
handler.logon(…);
Session[“AdminSessionHandler”] = handler;
Pull the AdminSessionHandler object out of the session when executing administration commands.
AdministrationHandler handler = Session[“AdminSessionHandler”];
handler.getUserHandler.create(..);
Cet article vous a-t-il été utile ?