So, I'm trying to adapt some legacy code for use in our updated mobile site
- Using jQuery / CF9

So, the legacy log in functionality is already wired into a CFC, it was
being used by Flex - When someone successfully logs in, the app sets some
CLIENT vars, which we have set to store as a cookie - yes I know, Client
vars are evil - Changing them right now isn't an option.

Here's where it goes wrong, if I call any remote function from a CFC via
any of the ajax type calls from jQuery and the method returns ANY data in
ANY format, HTTP response header is missing the command to set cookies. If
I call a method in a cfc that does not return data - the HTTP response
includes the standard set-cookie command you see on any normal http request
- including the cftoken and cfid cookies and such...

Why doesn't a CFC return that http response header when the method returns
data? Can I change that?



-- 
Alan Rother
Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org
Twitter: @AlanRother


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351885
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to