Hi All- 

I have a question on variable scopes. I have the following scenario.

Suppose I have a dropdown as below with some tax years:

<form name="frm" method="post" action="results.cfm">
 <select name="dd_year">
     <option value="2000">2000</option>
     <option value="2001">2001</option>
     <option value="2002">2002</option>
     <option value="2003">2003</option>
 </select>

 <input type="submit" value="Submit" name="sbtbutton" />

</form>

So once the user logins and selects a year from the drop down, upon clicking 
the submit button, the year value should be available across all pages. What is 
the best way to store the value? I mean in which scope?

Thanks. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347501
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to