> You know, the funny thing is that that session writing code 
> used to be in 
> the custom tag.  and the script worked fine.

hmm, well I just did the following:
========= sessiontest.cfm ============
<cf_sessiontest2>
<cfset request = duplicate(session)>

<cfdump var="#session#">
<cfdump var="#request#">
======================================

where sessiontest2.cfm contained:

========== sessiontest2.cfm ==========
<cfset session.dr = structnew()>
<cfset session.dr.foo = "somevalue">
======================================

and as expected (from the revelations in this thread), nothing was copied to
the requestscope.

is it possible you were copying keys rather than whole scopes when your code
was in the CT?

> -----Original Message-----
> From: Jolly Green Giant [mailto:[EMAIL PROTECTED]
> Sent: 27 June 2003 15:52
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Request structure not behaving - Urgent
> 
> 
> You know, the funny thing is that that session writing code 
> used to be in 
> the custom tag.  and the script worked fine.  It's when I 
> moved it out of 
> the tag and into the include-header that the problems arose.
> 
> So perhaps the implementation of copying the session scope to 
> the request 
> scope is just buggy... working sometimes and not working other times.
> 
> Thanks again!
> 
> __________/  Rich Wild   \__________
> >I guess you can't overwrite the entire request scope with 
> another scope, 
> >it
> >has to be the contents that overwrite each other...
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to