I now creating the login page. So I have using the
So by default it will redirect to the default.aspx
So this part is ok. Can I redirect to the another file name?
Another problem is, I will do the checking wheter the user is login. If user are not log in it will redirect to login.aspx I wrote code like:
If Session("Logged_IN").Equals("No") Then Response.Redirect("login.aspx") End If
But after I do the login and success, it will pop to the default.aspx. Can I redirect to the webpage where i original requested. I search from the web that ForumsAuthentication.RedirectFromLoginPage can redirect to caller webpage, but how? I feel blur!