Thread: Logout

  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Rep Power



    I have a project with a few pages. The problem is that I don't want to allow the user to be able to view a page without first login in. The problem is with the edit.aspx page. If receives and sends a querystring such as
    Now if i enter the above querystring in the address toolbar of my browser it takes me to that edit page without prompting for a login password and username. I want to prevent it. If a user doesn't first login then he shouldn't be able to view his page. How can i do it?
    I thought that the following code should do it but it doesn't (only works if i go directly to edit.asp w/o the querystring)
    By the way Myads.asp is the page before edit.aspx (both codes are attached in the file called code).
    Attached Files

IMN logo majestic logo threadwatch logo seochat tools logo