Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2003
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passing Hidden Variables

    I set up a site with multiple users and each userID accesses an access database with their info. Currently I'm passing their userID by doing <a href="link.asp?user=<% userID %>">blah</a> Is there a better way to do this because as of right now, any user can just change that link location to view any other account info.
    ·JGADesign·

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Session variables can be used to store who's who so you don't have to pass the id in an easily changeable location. If your users are logged in using network IDs then that ID is also available from Request.ServerVariables("LOGON_USER").
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    New Coder
    Join Date
    Oct 2003
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks, I used session("userID") and it worked perfectly
    ·JGADesign·


  •  

    Posting Permissions

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