The java applet logic passes back form params.  The form method is already
set to post.  The form params are vanishing after the file is uploaded to
CF's temp directory.  What I want to know is how does one make java applet
form vars get passed back to the correct session (using the URL.sessionID
that is passed in the string). 


Thanks,
Mark

-----Original Message-----
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 17, 2006 11:36 AM
To: CF-Talk
Subject: RE: Passing Java Applet vars back to CF

Mark,

>Using CFMX7 on Win2003.  I have a java applet embedded in a CF page
>(page1.cfm) (using object/embed tags) which performs a file upload.  
>Upon successful upload (no errors thrown), I redirect to a second CF 
>page
>(page2.cfm) to perform additional routines on the FORM vars which 
>should be passed.  However, no vars are being passed (the cfdump shows 
>nothing).  I suspect that the session is being dropped, so that the 
>java applet doesn't know where to return the form vars to.  In the java 
>applet I can set the form action = 
>"page2.cfm?sesID=#SESSION.sessionID#".  However, on page2.cfm, how do I 
>retrieve the correct sessionID, so I can get at the form vars?

The sesID variable would be in the URL scope--not the FORM scope. Also,
makes sure that you've specified method="POST" on you <form /> tag. If not,
it'll default to a GET operation, which means the variables will be in the
URL scope, not the FORM scope.

-Dan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240785
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to