How to pass cookie and HTTP headers from incoming request when ''calling" JSP?
Hi,
I am very new to ColdFusion, and have been experimenting with the different ways to "call" a JSP from CFML. I'm currently running ColdFusion 8 Developer deployed on GlassFish 3.1.1 (on Win2K3 64-bit).
Thus far, I have been looking at GetPageContext().include and .forward() and using <cfhttp>.
I have some basic test scenarios working, but in my case, we are using a single sign-on product, Oracle OAM, and I'd like to (need to) be able to pass some of the cookies (e.g., the SSO cookie) that are on the incoming (to the .cfm) request through to the "called" JSP.
I know, that for example, with <cfhttp>, I can set parameters to set headers, but how can I (1) get the (for example) "Cookie:" header from the incoming request, and then set that into a parameter for <cfhttp>?
I also have a similar question in the case where GetPageContext().include() is used, rather than <cfhttp>.
Example code/snippets to do this would be greatly appreciated!!
Thanks,
Jim
