<cfset testing = url.myurlvar /> perhaps? I'm not really sure what you're asking. Maybe this:
<cfset myvar = url.myurlvar /> Your code will put the string "var myvar = _root.myurlvar;" into the variable "testing", along with some leading and trailing whitespace. No other variables will be set or accessed (including your URL variable; it's totally unused). cheers, barneyb On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote: > How can i pull a url string into a cfsavecontent. below is an example: > > Sample URL String: > http://www.test.com?myurlvar=testing > > Sample CFML Code: > <cfsavecontent variable="testing"> > var myvar = _root.MyUrlVar; > </cfsavecontent> > > I receive no errors when testing. MyVar comes back to me as undefined. > > The code is simplified to match my real problem. > > Thanks, mike > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211398 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54