title: Set ASP.NET Form Authentication login cookie expiration at the same time as the Session expiration
body: <p>I've an <code>ASP.NET</code> web site that uses <code>FormsAuthentication</code> and a standard <code>Session</code> mechanism. In one of it's webpage the processing(on click of refresh button grid rebinds) is base on session value.If i leaves the screen open for a 'long time' and then tries the refresh. Nothing refreshes.It because session value expires. </p>
  
  <p>So is there any way, i can set configure setting in <code>web.config</code> and synchronize both authentication cookie timeout and session timeout ?</p>