HI All,
I have been a "Dumbard" I did not even think of using a hidden form value
and
then use the search results page to set the session variables.
Thanks to all
Regards
From: Christopher Jordan <[EMAIL PROTECTED]>
Reply-To: Dallas/Fort Worth ColdFusion User Group Mailing
List<[email protected]>
To: Dallas/Fort Worth ColdFusion User Group Mailing
List<[email protected]>
Subject: Re: [DFW CFUG] Javascript to set a session variable
Date: Thu, 20 Jul 2006 09:49:21 -0500
I've typically done that sort of thing with hidden form fields to hold on
to what was previously in the search form.
However, if you're submitting the search form, and ColdFusion is performing
the search for you, couldn't you just put all of the user's criteria into
the session scope prior to preforming the search? Then if they click on
your "Modify search" button (or whatever), Cold fusion could build the
search form using those session variables to "pre-fill" the form with their
previous criteria.
No javascript involved (unless I'm missing the point). This doesn't really
work if the user clicks the back button, though.
-Chris
Ray Hughes wrote:
HI All,
I am guessing either I did not explain myself or It cannot be done.
Anyway here goes.
Requirement: Users search criteria to be maintained such that when the
user requests a second search then the previous search criteria will be
loaded into the search page at onload.
Thus the user then has to only make a few changes to re-execute the
search.
This eliminates the need for the user to completely fill out all of the
whole search page
in order to do a second search.
I thought that storing these parameters in session variables
at the time of submit was the best way.
Any thoughts from anyone?
Regards
Ray
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Reply to DFWCFUG: [email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: www.HostMySite.com www.teksystems.com/
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/