Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 24, 2013 12:33 PM by shwetamittal85
Jan 21, 2013 06:54 AM|LINK
In my asp.net3.5 web application
i hv set <sessionState mode="SQLServer" >.When i login with username-pwd,
it creates row dbo.ASPStateTempSessions for current session.
This row will automatically get deleted on timeout happens.
But want to delete the row when user clik on logout button.
Plz help me how can i do it.
thnx in advance.
Jan 22, 2013 05:04 AM|LINK
Put this code in the logout button
To remove specific session variable
To clear all session variables
Jan 22, 2013 06:12 AM|LINK
Please set slidingExpiration="true" in <Form slidingExpiration="true" > tag.
If it heps mark as answered
Jan 22, 2013 06:33 AM|LINK
Thanx a lot both of you.
I tried but not helping me out.
Also i m sorry that i hv forgot to mention that the I hv to login into one website and using same login i hv to auto loign into the links of website given in the first website.So, as i m saving session in sql server when i try to logout from first website
it allows me but not from second website.
It is a senario of 'Single sign on for website in same domain'
after loging into above link
I can automatically get loggedin into
hope u all understand the senario.
Jan 24, 2013 12:33 PM|LINK
you can try this