Interviews2 answers
I have one Login.aspx page and another index.html page after logging in i want username in textbox of index.html page which is stored in session in aaspx page. ?
2 Answers
On login in login.aspx save the username in cookie and redirect to index.html here access the cookie variable value and use where needed.
Vishal JadavPosted Aug 7, 2016, 11:27 PM EDT
Response.Redirect(String.Concat("~/index.html?UserName=", Convert.ToString(Session["UserName"])));
Monica BundelPosted Feb 17, 2016, 1:57 AM EST
