> Is there any way to preserve session state over cfhttp... 
> Im doing multiple requests on a web page, and the page 
> uses sessions, and so I cant login etc via cfhttp as it 
> doesn�t seem to preserve sessions...

Yes, you can preserve session state. You'll need to return the session token
on each subsequent request. If that token is a cookie, you'll have to send
back a cookie with the right value. If the token is appended to the URL,
you'll have to do the same. CFHTTP doesn't do any of this automatically for
you.

Now, to send values to the remote server using CFHTTP, you'd typically use
the CFHTTPPARAM tag, but that does require that you use METHOD="POST" in
your CFHTTP tag. If that's a problem, you'll have to find an alternative way
to send your data. Check last week's thread "is there a cfheader type tag
for cfhttp?" for details.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to