|
Is
this a problem or is this some expected behavior that I do not understand. TEST
CASE: I
have the following basic CFC to that is meant to be the action of a form. Test.cfc <cfcomponent> <cffunction
name="formFunc" access="remote" returntype="void"> <cfscript> session.test
= structNew(); session.test.foo
= "bar3"; session.test.form
= duplicate(form); </cfscript> <cflocation
url="" addtoken="no"> </cffunction> </cfcomponent> I
then have the two following forms to access copies of this CFC in different
locations. The first one is in the same
directory as the form; the second is in a directory that is mapped as a virtual
directory ["resources"] to the website in IIS. Test.cfm <cfdump var="#session#"> <cfform action=""
method="post"> <input type="text"
name="aField"> <input type="hidden"
name="method" value="formFunc"> <input type="submit"
value="submit"> </cfform> <cfform action=""
method="post"> <input type="text"
name="aField"> <input type="hidden"
name="method" value="formFunc"> <input type="submit"
value="submit"> </cfform> <cfset structDelete(session,"test")> The
first form that accesses the copy of the CFC in the same directory works as I
would expect it to. The values are set
in the session scope, the cflocation is followed and
then when the session scope is dumped in the form file, the values set in the
CFC are there. The
second form does not do this. The CFC is
processed without exception, but when the cflocation
is followed and the session scope is dumped, none of the values set in the CFC
exist. Is this correct? Is it a known
bug? If so, has it been fixed? Thank
You -------------- Web
Programmer BloodSource "C code. C code run. Run code run. Please!" -
Cynthia Dunning |
- Re: [CFCDev] Is this a known problem? Ian Skinner
- Re: [CFCDev] Is this a known problem? Marcos Placon�
- RE: [CFCDev] Is this a known problem? Ian Skinner
- RE: [CFCDev] Is this a known problem? Ian Skinner
- Re: [CFCDev] Is this a known problem? Mark Mandel
- Re: [CFCDev] Is this a known problem? Gary Menzel
- RE: [CFCDev] Is this a known problem? Ian Skinner
- RE: [CFCDev] Is this a known problem? Ian Skinner
