Where the variables were set has nothing to do with it. (the vars you are seeing in search results weren't actually set via <cfset> anyway) They show up there because they are passed via url by someone who:
A) got a little lazy B) goofed (we all goof) C) didnt know any better That being said, most people tend to use the Application.cfm for specific application settings. (setting session variables for a shopping cart that is probably PART of the overall application is not one of those specific application settings). It is used sparingly it most cases due to one simple reason... everything in the Application.cfm is ran on every page that inherits it. Personally, I don't think I have any applications out there that have more than 2 application.cfm templates. One in the main root where <cfapplication> settings are handled and <cferror> template is set. (thats all) The other would be in the top level of the backend to cfinclude the primary application.cfm and a login checker 'thing-a-majigger' to secure the section behind a login form/process. If you put something like session var cfsets in the main Application.cfm, they will be there on EVERY page of your application that doesn't have it's own Application.cfm. If your app is only a shopping cart then maybe thats a feasible place for you to put it, else I'd find somewhere else. As for passing the cfids and tokens through url variables, I usually avoid that at all costs. I've never seen (first hand) any reason what-so-ever to do it. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Nomad [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 7:13 PM To: CF-Talk Subject: Re: Client/Session Variable: When to set? Hi Matthew, Client/ session variables are not required to view pages .. it is being used for managing the shopping cart. The question is when to set it. I can set it up in the application.cfm page or the cart page. I am told setting it in the application.cfm page could hurt google rankings. I may sound stupid: spiders bots can detect whether or not session/client variables has been set. I am certain about this. I have seen google links to some items on the website that actually included the session id/ Cfid tokens. Consequently the site ranking was poor. Just wanted to clarify that. Ben ----- Original Message ----- From: "Matthew Walker" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Friday, October 28, 2005 11:38 AM Subject: RE: Client/Session Variable: When to set? > By "Application page" do you mean Application.cfm? If you do, then the > search engine bot is never going to know where the session/client > variables are being set. > > In general, you probably want to allow bots to spider the pages of your > shop, but surely client and session variables are irrelevant for viewing > pages of your shop catalogue? > > -----Original Message----- > From: Nomad [mailto:[EMAIL PROTECTED] > Sent: Friday, 28 October 2005 11:31 a.m. > To: CF-Talk > Subject: Client/Session Variable: When to set? > > Hello! > > Need to clear this up once and for all.... > When is the best time to set session/client variables..(Application > page or Cart page for an online shop) and why? > My understanding is that sites that set session/client variables in > Application page have poor search engine ranking. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222505 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