Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Rebecca Hall
3
Views
3
Comments
Session storage in Outsystems
Question
I have multiple espaces with session variables and I would like to clear everything out when the user logs out by using this code:
System.Web.SessionState.HttpSessionState mySession = System.Web.HttpContext.Current.Session;
mySession.Abandon();
Will this clear out the session variables in outsystems or are session variables managed a different way in outsystems?
Tiago Simões
Staff
Hi Rebecca,
From version 6.0 onwards doing a logout should automatically clear the session variables. If this is not working correctly please contact OutSystems Technical Support.
Cheers,
Tiago Simões
Rebecca Hall
We are still working in 5.0. Is there anyway to see how they clear the session in 6.0?
Daniel Martins
Hi.
You can try:
HttpContext.Current.Session.Clear();
You can find this solution
here
.
Best regards.
Daniel Martins.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...