Home | Advertising Info299 USERS CURRENTLY ONLINE   
   Site Search Contact Us Tuesday, August 20, 2019  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
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.


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2019 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com