Although quite inefficient, I needed to keep na ASP.NET session for 10 hours… (600 minutes)

So I wrote in the web config...

```
<authentication mode="Forms">
    <forms slidingExpiration="true" loginUrl="algoExpirou.aspx" name="AuthCookieConte" timeout="600" path="/">
    </forms>
</authentication>

```

and
 ' The TICKET...

```
Dim isPersistent As Boolean = False
    Dim ticket As New FormsAuthenticationTicket(1, strNomeDoRespondente, System.DateTime.Now, DateTime.Now.AddMinutes(600), isPersistent, userData, FormsAuthentication.FormsCookiePath)
    Dim encodedTicket As String = FormsAuthentication.Encrypt(ticket)
    Response.Cookies.Add(New HttpCookie(FormsAuthentication.FormsCookieName, encodedTicket))

```

Session !!

```
Session.Timeout = 600

```

Anyway something goes out after about 25 minutes… from a log:

5:11:25 - logged in

5:35:28 - time-out...

0:24:03 the difference

Rigth now I Don have a clue to what is happening. The hosting for the site is shared, I wonder there is a limit somehow to the time-out, but the site is being tested, no one is using it !

Thanks for any idea about it… Regards, RConte