Solved

SharePoint 2007 Forms Authentication Cookies

Posted on 2011-09-21
4
671 Views
Last Modified: 2012-05-12
We are currently building a SharePoint site using forms based authentication pointing to a 3rd party 2 factor authentication server called SecureAuth. While in SharePoint 2007 every 10 minutes of inactivity the SharePoint cookie expires and you are redirected to the login page of SecureAuth. When looking at the cookie directly in Firefox it is clear that the cookie expires 10 minutes from last activity. How do we change what I think is the idle timeout setting. I have tried the following so far -

Added Timeout setting under authentication mode in the web.config file and set to 1440
Changed Web Page Security Validation setting in SharePoint Central Administration to 60 minutes
Changed Application Pool Advanced Settings under Process Model->Idle Time-out (minutes) to 60 minutes
Changed Web Site Advanced Settings under Behavior->Connection Time-out (seconds) to 3600 seconds

0
Comment
Question by:ironhat24
  • 3
4 Comments
 
LVL 10

Expert Comment

by:gaurav05
ID: 36578729
hi,

you need to setup Token lifetime in sharepoint

setting the TokenLifetime in SharePoint:
$sts = Get-SPSecurityTokenServiceConfig
$sts.LogonTokenCacheExpirationWindow = (New-TimeSpan –minutes 1)
$sts.Update()
Iisreset

0
 

Assisted Solution

by:ironhat24
ironhat24 earned 0 total points
ID: 36580848
I don't seem to have this option with SharePoint 2007.
0
 

Accepted Solution

by:
ironhat24 earned 0 total points
ID: 36581714
We found a timeout setting in the SecureAuth web.config file that was set to 10. Issue resovled.
0
 

Author Closing Comment

by:ironhat24
ID: 36708104
Issue not resolved by ExpertsExchange community on this one.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now