Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > clear session variables on sign out link click View modes: 
User avatar
Member
Member
fan4u - 7/12/2011 5:26:31 PM
   
clear session variables on sign out link click
How can i clear session variables on sign out link click

i modified the code in /CMSWebParts/Membership/Logon/SignOutButton.ascx.cs

but didnt work.

Thanks
Fan

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/13/2011 12:29:37 AM
   
RE:clear session variables on sign out link click
Hello,

Well, you can call the Session.Clear method to remove the session variables in the btnSignOut_Click event.

Let me know if it helps. Otherwise please provide us with more detail about your aim.

Best regards
Ondrej Vasil