Sorry guys please disregard. All of my trials were trying to set "sessionid" to wire up the sessions, where the documentation clearly states "jsessionid". This code allowed me to successfully wire up the session:
<cfcookie name="JSESSIONID" value="#FORM.jsessionid#" /> -Brian On Oct 25, 3:08 pm, "Brian H." <[email protected]> wrote: > <offtopic> > > It has been documented on a number of occasions > (http://www.bennadel.com/blog/785-Ask-Ben-Hiding-Encrypting-ColdFusion-CFID-A...) > that you can use <cfcookie> to manually set the CFID and CFTOKEN > values in order to wire up to another session when the CFID and > CFTOKEN is known / comes from some other source (say passed in via a > ajax call). > > My application uses swfupload to manage file uploads, and it simply > does a POST to a provided URL. It doesn't carry over the cookies > however, so I manually POST the session identifiers (CFID / CFTOKEN) > as form variables, and then in onRequestStart, assign those values > using <cfcookie> to wire up the session for authentication purposes. > Seems like it worked fine. I have a CF9 server that is now running > J2EE session variables enabled, which gives me a "sessionid" and > "urltoken" in the session scope, not CFID and CFTOKEN. For the life of > me, I can not use the same technique to "wire up" the session scope of > a particular session by manually setting the sessionid/urltoken. CF > just seems to ignore that. I tried setting those two variables using > CFCOOKIE, I've tried assigning them to "session.sessionid=...", etc. > Every time it just starts a new session. > > Have you ever been able to make this work on a server with J2ee > session variables installed? > > Thanks! > > -Brian > > </offtopic> -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
