hi bill r u there

Results 1 to 3 of 3

Thread: hi bill r u there

  1. #1
    Join Date
    Dec 1969

    Default hi bill r u there

    HI bill are you there???<BR><BR>I need to ask that how can i prevent a user not to gain the access of pages if he once login and then if he try to copy the url and paste in a different window then that particular page will not appear it will redirected him to the login page can i Do someting to prevent that

  2. #2
    Join Date
    Dec 1969

    Default Not Bill, but this is..

    .. pretty easy.<BR><BR>On your login page, set a Session variable (such as Session("LoggedIn") = "yes").<BR><BR>Then, at the top of every page that you want protected, do:<BR>&#060;%<BR>If Session("LoggedIn") &#060;&#062; "yes" Then<BR> Response.Redirect "YouAreNotLoggedIn.asp"<BR>End If<BR>%&#062;<BR><BR>And, of course, create a page telling the user that they aren&#039;t logged in.

  3. #3
    Join Date
    Dec 1969

    Default There is an FAQ on this too

    Category - Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts