|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Help -- Passing Variables |
From: |
Brian S. |
Date: |
12/7/1999 11:05:58 AM |
IP: |
204.120.18.50 |
I am trying to pass a variable to another page via a Session variable. I can set the Session variable = to regular text and it works fine. I come across a problem when I try to set the Session variable to a local variable or the text from a textbox.
I reference the Session variable on another page with Response.Write Session("Device")
<%Session("Device") = "TEXT"%> --- this works
<%Session("Device") = temptext%> -- this doesnt
(temptext is set equal to text from a textbox)
I dont get a syntax error and I dont get an error when I set the Session variable but it wont show up on the other page
<%Session("Device") = %> & temptext - doesnt work
I get the error
Syntax Error
Session("Device") =
I have all of this enclosed in <SCRIPT> tags and this all gets set with a button click.
Any suggestions or help on this topic would be greatly appreciated. Thanks in advance. |
|
|
|
|
|
|
|
|
|
|
|
|