If storing session variable is indeed necessary, use ASP.NET session state. While session variables are stored on server-side, cookies are stored on client-side. Under the hood session state uses cookies, and session management will not work properly if cookies are disabled on the browser. DO NOT set sesstionState to cookieless , which will cause ASP.NET to embed session ID as part of URL and is vulnerable to session hijacking.