Session storage in Outsystems

Session storage in Outsystems

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;

Will this clear out the session variables in outsystems or are session variables managed a different way in outsystems?
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.

Tiago Simões
We are still working in 5.0.  Is there anyway to see how they clear the session in 6.0?

You can try:


You can find this solution here.

Best regards.
Daniel Martins.