For e.g i have a login PAGE and a reservation page.
how can i secure the Reservation page to prevent user from going into the web by typing the Web Name. e,g Reservation.aspx
Printable View
For e.g i have a login PAGE and a reservation page.
how can i secure the Reservation page to prevent user from going into the web by typing the Web Name. e,g Reservation.aspx
In the page_Load event, run a simple check:
If Not User.Identity.IsAuthenticated Then
Response.Redirect("login.aspx")
End If
Is there Any Simplier Way of Coding this Security Stuff? my Friend is the one who need this and he is quite new to .nEt . Any help gathered here will be much Appreciated
Have you actually looked at the code/links they gave?
That's pretty much the way to do it. Doesn't get any simpler than that.