Okay I'm a newbie and I'm having some trouble using session variables. They
are not being stored it seems and therefore not being passed from template
to template as the user moves through the app,.
My application file looks like this
<cfapplication name="whatever"
clientmanagement="Yes"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#createtimespan(0,0,20,0)#"
applicationtimeout="#createtimespan(1,0,0,0)#">
<!--params for clientinfo table-->
<cfparam name="session.lname" default="">
<cfparam name="session.fname" default="">
<cfparam name="session.email" default="">
<cfparam name="session.phone" default="">
<cfparam name="session.coname" default="">
<cfparam name="session.title" default="">
Then the folowing templates ask for the user to input their names etc. in
form fields where they get stired for the duration of the visit. like so;
<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>
etc.
But the varibles entered on screen1 are not being passed to screen2.cfm?
Now this should be really simle but I must be missing something.
Can somebody please help me out. I would be eternally grateful. Thanks
spencer the newbie
------------------------------------------------------------------------------
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.