Quantcast
Channel: Use Session variable in html - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by avinava basu for Use Session variable in html

I was actually trying a lot to get my session value from a page to another html in asp.net.However some syntactical error was always acting as an hindrance.In order to solved it, I've created a web...

View Article


Answer by Oded for Use Session variable in html

Use a codeblock:Hello <%:Session["user"]%>Or if before .NET 4.0:Hello <%=Server.HtmlEncode(Session["user"])%>

View Article


Use Session variable in html

I get a session variable from a login form and then redirect to another page: String a = Login1.UserName; Session["user"] = a; Response.Redirect("~/Home.aspx");In Home.aspx I wish to display in a div...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>