saucer(思归)请问在需要验证的页面里面代码怎样写的。
Dim Cookie As HttpCookie
Cookie = Request.Cookies("username")
If Not Cookie Is Nothing Then
.....
Else
Server.Transfer("login.aspx")
End If
每次登陆以后,就跳到login中指定的页(index.aspx)了,不知道你们用的什么方法登陆后回到我所选择的页
login.aspx====================
Response.Cookies("username").Value = username.Text
Response.Cookies("userid").Value = dr.Item("id")
FormsAuthentication.RedirectFromLoginPage(username.Text, False)
Response.Redirect("index.aspx")