I really should learn reading trough all my mail before i write replies to this thread, you were already way ahead of me :)))
Cheers, Stijn On Thu, 14 Oct 2004, Sean Corfield wrote: > On Thu, 14 Oct 2004 11:05:52 -0700, Barney Boisvert <[EMAIL PROTECTED]> wrote: > > I believe session management IS available with remoting, because I'm > > pretty sure Flash passes cookie information along with remoting calls. > > ColdFusion sessions work automatically with Flash Remoting - the Flash > Player manages the cookies. > > > Like I said, I've never tried it, but I believe it works. Web > > services, on the other hand, should still be able to pass cookies > > (since they operate over HTTP), but I don't think they're processed by > > CF. I could be well be wrong though. I've always used the manual > > session identifier route, because we use our own custom client > > management system. > > Yes, most web services assume that the client will not manage cookies > and therefore they require you to use a variety of methods to manage > state across multiple calls. That means that ColdFusion sessions will > not work with web services (because you can't rely on the client to > manage cookies for you). > > Often you make a specific web service call that returns a "token" that > has to be submitted in subsequent method calls (often as a SOAP > header) and the web service "provider" uses the "token" to manage > state - in CF you could use a struct in application scope with UUIDs > as keys and hand out the UUID in that first web service call and use > what gets passed in on subsequent calls to lookup data in that > application scope struct. Of course, you also then need to have a > scheduled task that cleans up 'old' UUID entries - effectively > mimicking the whole session management process... > -- > Sean A Corfield -- http://www.corfield.org/ > Team Fusebox -- http://www.fusebox.org/ > Got Gmail? -- I have 2 invites > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
