ASP.NET - How to pass value from aspx page to html page using session variable?

Asked By Aravind Aravind on 07-Oct-14 07:28 AM
I have one problem, I need to pass value from aspx page to html page using session.I don't want pass value using url query string.
 
For example,i have login.aspx page and Welcome.html, in this if user login i need to pass username to welcome page. When login time can store in session or public variable and in welcome page retrieve and show in welcome page input box.
 
Note: I don't want url query string like Welcome.html?Username=aaaa
Robbe Morris replied to Aravind Aravind on 07-Oct-14 07:28 AM
A static html page does not have the concept of session or server side memory access.  Your only option is to put in the querystring or write a cookie.  Either exposes your session variable.
Aravind Aravind replied to Robbe Morris on 07-Oct-14 08:48 AM
ok ,how to get querystring value in html page ? can use document.ready jquery,pls reply how i get ?
Robbe Morris replied to Aravind Aravind on 07-Oct-14 09:11 AM
http://www.nullskull.com/articles/20020107.asp