[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 720
  • 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

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