Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: passing multiple values from one ASP to another


Message #1 by "Quang Lam" <QTheLams@a...> on Wed, 18 Sep 2002 15:08:57
Hi,

Response.Redirect "main.asp?access="&rsUser("Access_ID") '& "&user="&rsUser ("Login_ID")

Pls chg the above redirect statement as below.... (a single quote is there)

Response.Redirect "main.asp?access=" & rsUser("Access_ID") & "&user=" & rsUser ("Login_ID")

Thks & Rgds.,

A.Ragu Nath.

  ----- Original Message ----- 
  From: Quang Lam 
  To: javascript 
  Sent: Wednesday, September 18, 2002 3:08 PM
  Subject: [javascript] passing multiple values from one ASP to another


  I am trying to pass 2 values from one ASP page to another. I can receive 
  the first one Ok but not the second value. Please help! Here is the code 
  from the first ASP page.

  Response.Redirect "main.asp?access="&rsUser("Access_ID") '& "&user="&rsUser
  ("Login_ID")

  I used request("access") and got the value for the first one Ok. However, 
  with the same method - request("user") I could not get the value of the 
  second parameter? Any suggestion is greatly appreciated.

  Thanks

  Quang 

  ---

  Improve your web design skills with these new books from Glasshaus.

  Usable Web Menus
  http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
  r-20
  Constructing Accessible Web Sites
  http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
  r-20
  Practical JavaScript for the Usable Web
  http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
  r-20



  Return to Index