You need to reference form vaiables passed via POST like this:

<cfoutput>
    Hello #Form.fname# #Form.lname#<br>
    Your email address is : #Form..email#<br>
</cfoutput>

If you want these to be session variables, you need to set them first:

<cfset Session.fname =  #Form.fname#>
<cfset Session.lname = #Form.lname#>
etc.

Only then can you reference the values you are looking for by
'Session.whatever'

.Todd

----- Original Message -----
From: "Spencer Saunders" <[EMAIL PROTECTED]>
To: "cftalk" <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 11:12 AM
Subject: session variable blues


| <form action="screen2.cfm" method="POST">
| <input type="Text" name="lname" size="25" value="">:Last Name<br>
| <input type="Text" name="fname" size="25" value="">:First Name<br>
| <input type="Text" name="email" size="25" value="">: Email<br>
| <input type="Text" name="phone" size="25" value="">: Phone Number<br>
| <input type="Text" name="coname" size="25" value="">: Company Name<br>
| <input type="Text" name="title" size="25" value="">: Title<br>
|
|
| <input type="Submit" value="next">
|
|
| screen2.cfm;
|
| <cfoutput>
| Hello #session.fname# #session.lname#<br>
| Your email address is : #session.email#<br>
| </cfoutput>


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to