...

View Full Version : Passing Hidden Variables



jgallen23
08-06-2004, 03:54 AM
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.

Roy Sinclair
08-06-2004, 05:45 PM
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").

jgallen23
08-06-2004, 05:58 PM
thanks, I used session("userID") and it worked perfectly



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum