• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 727
  • Last Modified:

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

0
ironhat24
Asked:
ironhat24
  • 3
2 Solutions
 
gaurav05Commented:
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
 
ironhat24Author Commented:
I don't seem to have this option with SharePoint 2007.
0
 
ironhat24Author Commented:
We found a timeout setting in the SecureAuth web.config file that was set to 10. Issue resovled.
0
 
ironhat24Author Commented:
Issue not resolved by ExpertsExchange community on this one.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now