Terry Ford wrote:
> The only potential downside is the overhead required to store and then later 
> delete the cached queries for clients like Google/yahoo/msn/etc bot sessions. 
>  Between these guys and clients with no cookies, thousands of unused sessions 
> an hour are created, which means that for sessiontimeout minutes that 
> cache_query memory will be wasted.   Could always manually delete the 
> variable based on user_agent I suppose.  Have never stored queries directly 
> into session scope, but would be interested to hear if anyone has any 
> experience with performance of such under load vs using local variables.

 From what I understand, the session is created regardless of whether it 
persists or not.  That is, the googleBot makes a request, no 
cfid/cftoken is pushed, so the system creates a new session for it.  So, 
in theory, you're not actually adding any overhead by using the 
nonpersistent sessions.

--Ben


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228506
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

Reply via email to