|
|
|
|
|
| | |
|
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: simple ASP question |
From: |
ann |
Date: |
8/11/1999 1:11:22 PM |
IP: |
134.205.91.190 |
You can save to Session level variables that maintain data across pages...
<%
Create SESSION LEVEL VARIABLES
Session("strFirstName") = Request.Form ("txtFirstName")
Session("strLastName") = Request.Form ("txtLastName")
Session("strMiddleInitial") = Request.Form ("txtMiddleInitial")
Assign SESSION LEVEL variables to LOCAL variables, conserving system resources
Dim strFirstName, strLastName, strMiddleInitial
strFirstName = Session("strFirstName")
strLastName = Session("strLastName")
strMiddleInitial = Session("strMiddleInitial")
%>
Then go about your scripting way using VB or javascript or whatever. This example pulls data from a form using a submit button in the previous page but the Session object is the point here. Session level variables are available to all pages within that Session. Look up info on the web re: the Session Object in ASP.
Hope this helps...
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|