Hi,

You need to use the Session scope, not the request scope.  The request scope
only lives for the life of a single web page request.  So once your page
finishes processing on the server, the request scope is gone.  To persist
values through a 'session' of a user, you use the 'session' scope.  That
will allow you to save values between pages.

Of course, you could persist them in a database too, that's another way to
do it.  It all depends on what exactly you are doing, but if you don't want
them in a database yet, then you can use the session scope, just be aware,
if the user closes their browser, or their session 'times out' (check your
cf administrator settings or cfapplication tag for timeout settings) they
will lose that data if it hasn't been persisted to a database.

Dave

-----Original Message-----
From: su k [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2008 7:25 AM
To: CF-Newbie
Subject: cfselect and Request scope

I have different tabs.  Each tab is a different page.  I have to retain the
data that was entered in the pages while navigating through the tabs.

For Example: If data is entered in first page and if second tab is clicked
and comes back to the first page, the data entered in the first page should
not be lost.

What can I do to save the data?  The page contains 2 <cfselect> controls (
multiple options can be selected ). 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3981
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to