Well then... hm... some sort of search/replace would be good. You could 
checkout a program called NoteTab Light. It has a powerful search and 
replace capability which includes the ability to use regular expressions.

Chris

Cutter (CFRelated) wrote:
> Here's the issue: Shared code base utilized by 1400+ sites and we're 
> tracking stats (users to sessions, etc). To properly track sessions 
> among those who do not have cookies enabled (and there are many) we 
> would need to pass CFID/CFToken to each page request. This requires us 
> to change 7,000+ templates in a dynamic system (Hence me looking for a 
> regex).
>
> Cutter
>
>
> Adkins, Randy wrote:
>   
>> Nothing wrong with it but I got out the message was he was wanting to
>> update all the pages to use the variables.
>> So instead of opening and changing a page one at a time, to do a
>> Search/Replace.
>>  
>>
>> -----Original Message-----
>> From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, December 29, 2006 1:28 PM
>> To: CF-Talk
>> Subject: Re: CFID and CFToken
>>
>> Why couldn't you do it with CF Code? Well, I guess if he's creating all
>> his HTML by hand and just using CF for the back end... otherwise, you'd
>> do it when CF is creating the page.
>>
>> <CFOutput>
>>     <a
>> href="somepage.cfm?CFID=#Session.CFID#&CFTOKEN=#Session.CFToken#">MyLink
>> </a>
>> </CFOutput>
>>
>> What's wrong with something like that?
>>
>> Cheers,
>> Chris
>>
>> Adkins, Randy wrote:
>>
>>     
>>> Well not really with CF Code but why not use the Search/Replace 
>>> function within HomeSite/DW/ or Eclipse and update the pages that way?
>>>
>>>
>>> -----Original Message-----
>>> From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, December 29, 2006 1:00 PM
>>> To: CF-Talk
>>> Subject: CFID and CFToken
>>>
>>> Does anyone know of a way to programmatically add the CFID and CFToken
>>>       
>>     
>>> variables to every link within a rendered page (if needed)? Links, 
>>> form actions, etc., via some regex or something.
>>>
>>> Cutter
>>>
>>>
>>>
>>>
>>>       
>>
>>
>>
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265338
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to