Hi,
I have a requirement where i need to access the Data from Client Scope in
Coldfusion in a JSP. I don't see the data in Session, Request and application
scope of JSP.
Can anybody help me in how do i access the information which is declared in
Client scope in Coldfusion inside the JSP?
GArlington - 30 Aug 2007 10:12 GMT
On 29 Aug, 22:55, "HarshaVardhanC" <webforumsu...@macromedia.com>
wrote:
> Hi,
>
[quoted text clipped - 4 lines]
> Can anybody help me in how do i access the information which is declared in
> Client scope in Coldfusion inside the JSP?
I would not think that you can do it, at least not easily. CF and JSP
will be running on separate JVMs, so you will have to find the way for
them to communicate.
JohnEric - 30 Aug 2007 20:14 GMT
I have no experience with it but from
http://spike.oli.tudelft.nl/jochemd/index.cfm?PageID=11 the following code
snippet may point you in a usefull direction.
<cflock name="serviceFactory" type="exclusive" timeout="10">
<cfscript>
factory = CreateObject("java", "coldfusion.server.ServiceFactory");
c_scopeservice = factory.clientscopeservice;
</cfscript>
<cfdump var="#c_scopeservice#">
</cflock>