how to pass session variable in href
want to pass session of a开发者_如何转开发ccount id through href.. i tried with
`href="../Profile/Home.aspx?uid=<% =&Session("AccountId")%>"`
but its not working.. help me
try:
href="../Profile/Home.aspx?uid=<%= Session["AccountId"] %>"
You had an extraneous & in there. Also Session is indexed with [], not ()
精彩评论