Link to home
Start Free TrialLog in
Avatar of ironhat24
ironhat24

asked on

SharePoint 2007 Forms Authentication Cookies

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

Avatar of gaurav05
gaurav05
Flag of India image

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

SOLUTION
Avatar of ironhat24
ironhat24

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ironhat24
ironhat24

ASKER

Issue not resolved by ExpertsExchange community on this one.