Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / February 2008



Tip: Looking for answers? Try searching our database.

Same Session, Multiple Submits

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kodemonki - 25 Feb 2008 17:24 GMT
I have a form in CF8 where a user selects a client, fills out a form, and then
uses CFThread to process the submitted data, while the user can go on to the
next client and fill out another form, etc.

I am trying to do something like this in CF4.5 where I incorporate the
customer ID into the form name so that it can work similarly to the CF8
version, the user will just have to open multiple windows of the same session
so they don't have to wait for all the calculations to take place (<3 cfthread
<3).

Does anyone have any ideas about how this will work?  Better suggestions?  I
just want to make sure client A's data isn't mixed up with client B's.  The
previous developer used CFLock and session variables.  I don't think this is
the solution though because the user would have to wait for the server to be
done will all the data before (s)he moves on, that and we used to have people
doing what I'm trying to implement now (opening multiple windows and
submitting) except that the situation would be funky because of session
variables being set hither and thither.

Thanks for the help!
GArlington - 26 Feb 2008 10:16 GMT
> I have a form in CF8 where a user selects a client, fills out a form, and then
> uses CFThread to process the submitted data, while the user can go on to the
[quoted text clipped - 16 lines]
>
>  Thanks for the help!

Clear ALL session cookies and session vars after form is submitted -
this will force the server to start a new session for the new form...
kodemonki - 27 Feb 2008 14:08 GMT
Is this a good approach? bad approach?

Any other suggestions?
mrgccc3 - 29 Feb 2008 01:25 GMT
Dude maybe you can try out some of the ajax functions than or write
your own for some more control, i'm not a fan of multiple windows.
mrgccc3 - 29 Feb 2008 01:26 GMT
check out jquery,extjs, or dojo if you don't have very much javascript
background.  There are a handful of libraries out there to use.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.