0

I have a claims forms-based authentication rig for my sharepoint 2010 website.

Currently when a logged-in user closes the browser and then re-opens it, they remain logged in.

How to you get the authentication ticket to expire on browser exit?

2 Answers 2

1

You can specify the authentication cookie to be non-persistent:

bool createPersistentCookie = false;
FormsAuthentication.SetAuthCookie(userName,createPersistentCookie,cookiePath);
Sign up to request clarification or add additional context in comments.

Comments

0

SharePoint 2010 adds a new layer on top of the asp.net authentication mechanism.

This article discusses the problem and how to fix it.

http://jasear.wordpress.com/2011/01/10/sharepoint-2010-set-session-timout-on-a-fba-enabled-site/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.