> 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).

Instead of changing your code, you could use a post-processing approach to
rewrite links. There are several ways you could do this in CF. You could use
a post-processing servlet, or you could use CF 7's Application.cfc's
onRequest event handler to capture your page content using CFSAVECONTENT,
then rewrite your links dynamically.

Alternatively, you could write a custom tag to replace the A tag; you would
create a custom tag named "a.cfm", put it in a directory, then use CFIMPORT
to load the files in that directory as custom tags:

<cfimport taglib="some_directory" prefix="">

Finally, you could even use JavaScript to rewrite your links within the
browser.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:265410
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