Hi,
I am using HttpContext.Cur rent.User.Ident ity.Name to get a user id
from a web application. I then use that as part of a name of a cookie
I'm writing. 30 minutes later I do a refresh of this page and try to
access that cookie. However, because I am using
HttpContext.Cur rent.User.Ident ity.Name to get the user id to know what
that cookie name even is, I am having problems because apparently
after 30 minutes HttpContext.Cur rent.User.Ident ity.Name is no longer
returning a value. I think it has something to do with session
information only being available for 20 minutes by default.
Is there another way to get the user id other than
HttpContext.Cur rent.User.Ident ity.Name?
I am using HttpContext.Cur rent.User.Ident ity.Name to get a user id
from a web application. I then use that as part of a name of a cookie
I'm writing. 30 minutes later I do a refresh of this page and try to
access that cookie. However, because I am using
HttpContext.Cur rent.User.Ident ity.Name to get the user id to know what
that cookie name even is, I am having problems because apparently
after 30 minutes HttpContext.Cur rent.User.Ident ity.Name is no longer
returning a value. I think it has something to do with session
information only being available for 20 minutes by default.
Is there another way to get the user id other than
HttpContext.Cur rent.User.Ident ity.Name?
Comment