there are several ways of passing a variable from one asp to the next.<BR><BR>1. session variables<BR>one.asp<BR><%Session("MyVariable ")="Something or other"%><BR>two.asp<BR><%response.write Session("MyVariable")<BR><BR>in order for session variables to work, the user must accept cookies.<BR><BR>2. querystring/get (probably the easiest, most reliable way)<BR><BR>one.asp<BR><a href="two.asp?MyVariable=whatever?MyOtherVariable= SomethingElse"><BR>two.asp<BR><%Response .Write request.querystring("MyVariable")<BR>Response.Writ e "<BR>"<BR>Response.Write reequest.QueryString("MyOtherVariable")<BR><BR>3. post<BR>one.asp<BR>contains a form field (can be hidden) with the value in it<BR>submit to two.asp and<BR>request.form("FieldName")<BR><BR>kurt
By using Session Variables you can hold on to the info for the life of the session. If you have a page that collects info from the user, use a FORM to collect the data and on the page that the info is passed to do the following (just an example):<BR><BR>Session("UserID") = Trim(Request.Form("userid"))<BR><BR>Once you have the info in the Session variable on the left it will be stored in Session("Userid") until the session is ended. On other pages just use Session("Userid").