Terry,

Session management is set at the "application" level. It's not different for
each visitor - it is the same for all pages governed by the
"application.cfm" page.  Try this approach.


<Cfif cgi.http_user_agent IS "....some list of bots...">

        <cfapplication name="botApplication" sessionmanagement="no"....>
<cfelse>

        <cfapplication name="RegularUserApplication" sessionmanagement="yes">

</cfif>


this code will in effect create 2 applications - botApplication and
regularuserapplication - one with mangement "ON" and one with mangement
"OFF".

-Mark


-----Original Message-----
From: Terry Ford [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 12:57 PM
To: CF-Talk
Subject: Re: pseudo-memory leak


Correct, that's what I'm trying to do -- disable session management entirely
for bots so that thousands of sessions dont get needlessly created and
destroyed every 15 minutes.

Just to put this in perspective as to why I'm experimenting with this,
Google has over 500,000 pages from my site indexed.  Add in Google Adwords
on a large number of those pages, and Google is literally hammering the site
24 hrs a day.  This is great for driving traffic, but the overhead of
maintaining state for each one of these bot requests seems wasteful to me.

The problem is that as soon as you disable session management, all pages
that reference session variables (even inside of scope existence checks)
throw errors.

So it doesn't look like there's a way to me of disabling session management
for certain cgi.http_user_agents, yet having it enabled for non-bots.


>ugh, you have sessionmanagement="no"
>
>DK
>
>On 12/7/05, Terry Ford <[EMAIL PROTECTED]> wrote:
>>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:226485
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to