Jordan...

That's kinda strange. My first thought would be that the webservice would be 
setting that cookie to a namespace in CFMX, not at the browser where it 
needs to be to stay connected to that user... if that's even possible.

Ummmmm... you could try CFDUMPing the results of the first webservice call 
to see if you see a jsessionid, and then set it to a cookie yourself. I'm 
just not sure how you'd pass that back into the webservice. Is this a CF 
webservice or some other technology?

It would probably work like a cookie being set as a result of a cfhttp 
call... it would exist in the headers immediately after the call, but would 
be discarded once that cfhttp struct was destroyed (like... on the next 
request). You might want to try cfdumping getHttpRequestData(). You might be 
able to get by with trapping that jsessionid into a different variable and 
then setting it into a header for the webservice call. I'd have to mess with 
it to tell you exactly how.

Laterz,
J

On 5/23/05, Jordan Michaels <[EMAIL PROTECTED]> wrote:
> 
> Hmm... after attempting to manually send the jsessionid I took a closer
> look at the web service specs, and it appears as though it's the web
> service itself attempts to set the jsessionid. It does this by
> attempting to set a jsessionid cookie on the first search request, then,
> if the web service is invoked again using the "NextPage" method it tries
> to access that jsessionid cookie.
> 
> I guess it boils down to how CFMX processes its invokes. If a web
> service attempts to set a cookie like that, does CFMX retain the cookie?
> Or is cookie data ignored?
> 
> Thanks again!
> 
> -JM
> 



-- 
---------------
-------------------------------------
Buy SQLSurveyor!
http://www.web-relevant.com/sqlsurveyor
Never make your developers open Enterprise Manager again.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207490
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