Create ASP.NET Session from Cookie Session
2 answers
As far as I know, this is not possible due to the page lifecycle. Until the lifecycle ends and a session starts, there isn't much you can do other than store the information you need in an application variable, or alternatively, write a separate cookie using HttpCookies.
I usually use the latter if I need to do something before initializing the session.
I am assuming you need to get information that is stored in a session or you need a session id
0
source to share