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?
Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org