如何在C#后台向asp文件隐含传用户名?
string userid = Session["User_Name"].ToString() ;
Response.Write("<script>");
Response.Write("window.parent.location.href='bbs/index.asp?userid=" + userid + "';</script>");
如果用此方法,在浏览器的地址中会出现:http://localhost/Dong_Feng/bbs/index.asp?userid=1
这样就暴露了用户名,如何消去用户名,即实现隐含传值呢?不要用加密。
请帮忙给出具体代码,提示性的。谢谢!!!