开发者

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 ()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜