I have a problem with cookies:
In global.asa, i check to see if a user have a value in a persistent cookie, like (vidfunc=Request.Cookies("ADA").Item("IDFUNC")). If value is null then the user must do a logon. If the logon is correct, a persistent cookie is stored (Response.Cookies("ADA").Item("IDFUNC")=10) and a session value is stored (session("IDFUNC")=10).
When the session is active, there is no problem.
The problem exist when the session timeout (10 minute). On the top of the page i check to see if session("IDFUNC") is null. If is null, on a procedure, i make (session("IDFUNC")=Request.Cookies("ADA").Item("ID FUNC")), but it gives null.
How this thing happen?
thanks for the replyes.