RE: Can anyone tell me why someone would do this?

2007-03-19 Thread Ben Nadel
We do something like this because our development server has both an
area for the dev projects but also for client-betas (duplicate of the
code base with public facing access). We use the HASHing to make sure
the two applications don't start overwriting each other's cached values.



..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 9:26 AM
To: CF-Talk
Subject: Can anyone tell me why someone would do this?

I inherited a web site that is having session management issues, and
using a good amount of ram.

In the application.cfm file, there is the following session code:



Now, can anyone tell me why you would want, on a web site that requires
users to login, to set the session name based on the template?

Chris



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: Can anyone tell me why someone would do this?

2007-03-19 Thread Jim Wright
Peterson, Chris wrote:
> I inherited a web site that is having session management issues, and
> using a good amount of ram.
> 
> In the application.cfm file, there is the following session code:
> 
>  name="#Hash(GetCurrentTemplatePath())#" setclientcookies="no">
> 
> Now, can anyone tell me why you would want, on a web site that requires
> users to login, to set the session name based on the template?
> 
> Chris

Perhaps they used the same application template for multiple 
applications on the same server, and this was their shortcut way of 
making sure that the application names didn't conflict.  Or, was the 
application meant for shared hosting...this may have been a way to make 
sure there wasn't any conflict there.  I doubt if that in itself is 
causing your session management issues, it produces a valid...though 
unreadable...application name.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Can anyone tell me why someone would do this?

2007-03-19 Thread Scott Stewart
It looks like an attempt to keep folks from accessing individual pages,
without going through some kind of entrance page.

Hth

sas

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 9:26 AM
To: CF-Talk
Subject: Can anyone tell me why someone would do this?

I inherited a web site that is having session management issues, and
using a good amount of ram.

In the application.cfm file, there is the following session code:



Now, can anyone tell me why you would want, on a web site that requires
users to login, to set the session name based on the template?

Chris



~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Can anyone tell me why someone would do this?

2007-03-19 Thread Doug Bezona
It's the application name, not the session name.

We do something like this on our dev server, so each developer can have
independent instances of the application without stepping on each others
application and session scopes, etc. and without having to remember to
manually rename the application for each instance.



On 3/19/07, Peterson, Chris <[EMAIL PROTECTED]> wrote:
>
> I inherited a web site that is having session management issues, and
> using a good amount of ram.
>
> In the application.cfm file, there is the following session code:
>
>  name="#Hash(GetCurrentTemplatePath())#" setclientcookies="no">
>
> Now, can anyone tell me why you would want, on a web site that requires
> users to login, to set the session name based on the template?
>
> Chris
>
> 

~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: Can anyone tell me why someone would do this?

2007-03-19 Thread Andy Matthews
Doesn't make much sense. 

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 8:26 AM
To: CF-Talk
Subject: Can anyone tell me why someone would do this?

I inherited a web site that is having session management issues, and using a
good amount of ram.

In the application.cfm file, there is the following session code:



Now, can anyone tell me why you would want, on a web site that requires
users to login, to set the session name based on the template?

Chris



~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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