Should work fine...

Assuming:

http://www.server.com/script.asp?variable=value


'Inside script.asp
Dim lcVar

lcVar = Request.QueryString("variable")

Response.Write "The passed in item 'variable' is equel to: '" & lcVar & "'."

'End script.asp




If you are receiving a blank string then your supplying variables would be
empty...


Hth

Greg


-----Original Message-----
From: Tsiris Alexandros [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 11, 2002 9:58 AM
To: ActiveServerPages
Subject: querystrings


I know the following question is very simple.

But I come from a background in Linux and PHP, so forgive me for its
simplicity.

I have a page and I am trying to pass 2 variables to another page.

so I use the following code:

str = "?" & selected & InputVal
window.open "atest1.asp" & str

I see on top that the values of the strings are being passed (should I put
"?" &mystring=" & selected ...etc..)?

on the other side, I use:

myselected = Request.QueryString("selected")

Response.Write " it is " & myselected


all I get is 'it is'

Could someone point me in the right direction?

Thank you,

Alexander
 

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to