Re: session load balancing [WAS Re: Pros/Cons Session vs Client scope]

2005-11-27 Thread Douglas Knudsen
, AS -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Saturday, 26 November 2005 4:46 AM To: CF-Talk Subject: Re: session load balancing [WAS Re: Pros/Cons Session vs Client scope] I'll point out that if you have a CF(JRun) cluster set to use non-sticky sessions

RE: session load balancing [WAS Re: Pros/Cons Session vs Client scope]

2005-11-26 Thread Andrew Stevens
Douglas, can you elaborate on this point? Cheers, AS -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Saturday, 26 November 2005 4:46 AM To: CF-Talk Subject: Re: session load balancing [WAS Re: Pros/Cons Session vs Client scope] I'll point out that if you have

session load balancing [WAS Re: Pros/Cons Session vs Client scope]

2005-11-25 Thread John Paul Ashenfelter
On 11/23/05, Dave Watts [EMAIL PROTECTED] wrote: How do you span sessions across ColdFusion servers if you aren't using Enterprise? You don't. Isn't it all a matter of how you cluster the machines though? I mean, if you want to use sessions in a clustered environment, you

Re: Pros/Cons Session vs Client scope

2005-11-25 Thread John Paul Ashenfelter
On 11/23/05, Jeff Chastain [EMAIL PROTECTED] wrote: This was my thought as well. Basically, the worst that would happen is that a user might have to log in again if the server they were 'stuck' to went down and they were shifted to a different server. In some applications this could be a

Re: session load balancing [WAS Re: Pros/Cons Session vs Client scope]

2005-11-25 Thread Douglas Knudsen
I'll point out that if you have a CF(JRun) cluster set to use non-sticky sessions this will kill use of CF Graphing. AFAIK, there is no work around. Just an FYI DK On 11/25/05, John Paul Ashenfelter [EMAIL PROTECTED] wrote: On 11/23/05, Dave Watts [EMAIL PROTECTED] wrote: How do you span

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Robert Everland III
Pros Allows for persistant variables through clustered servers without having to purchase ColdFusion Enterprise Cons The bottleneck of your application is to your database server. You just added a hit to every persistant variable to your database. This makes your application much slower than

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Nathan Strutz
I wrote something on client variables a little while ago: http://www.dopefly.com/techblog/entry.cfm?entry=77 It's a good read, with some good comments too. -nathan strutz http://www.dopefly.com/ On 11/23/05, Smith, Daron [PA] [EMAIL PROTECTED] wrote: Does anyone have thoughts on pros/cons of

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread dsmith
Nathan, You raise some good points. In your opinion if I'm not running in a clustered environment, are session variables the way to go? Anyone else have thoughts? I wrote something on client variables a little while ago: http://www.dopefly.com/techblog/entry.cfm?entry=77 It's a good read,

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Nathan Strutz
I would venture to say that if you are or are not running in a clustered environment, client variables are the wrong way to go. As for changing your current aps, I'd say only do it if you begin to see problems. When the load on your servers increase, make sure you're monitoring general CPU usage

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread John Paul Ashenfelter
On 11/23/05, dsmith @ psea. org dsmith @ psea. org [EMAIL PROTECTED] wrote: Nathan, You raise some good points. In your opinion if I'm not running in a clustered environment, are session variables the way to go? Anyone else have thoughts? The answer is very dependent upon details of the

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Matt Robertson
Starting with CF6 you can use session vars with a cluster, yes? Don't you have to use jrun sessions or something? -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Robertson-Ravo, Neil (RX)
I didn't think they had sorted that entirely - like clustering CFC's for example. -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: 23 November 2005 16:10 To: CF-Talk Subject: Re: Pros/Cons Session vs Client scope Starting with CF6 you can use session vars

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Terry Schmitt
I think there are quite a few variables that need to be considered as others have mentioned. I always use session scope on my internal work servers. If on a shared server, one thing to keep in mind is that any other developer on that box can see your session variables. Not good if dealing with

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Douglas Knudsen
yes, but CFCs in the session scope can't be shared in a cluster. Note, if you have a sticky session cluster setup, then this works fine, eh? DK On 11/23/05, Matt Robertson [EMAIL PROTECTED] wrote: Starting with CF6 you can use session vars with a cluster, yes? Don't you have to use jrun

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Robert Everland III
How do you span sessions across ColdFusion servers if you aren't using Enterprise? Why would you even put CFC's into a session scope? Shouldn't they be in the application scope? Bob ~| Logware (www.logware.us): a new and

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Dawson, Michael
How do you span sessions across ColdFusion servers if you aren't using Enterprise? More-knowledgeable people will need to answer this one. Why would you even put CFC's into a session scope? Shouldn't they be in the application scope? When a user logs in to your site, you can create a

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Brian Peddle
Response.Cookies(foo).Path = / Session.Contents.RemoveAll End Function -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 2:56 PM To: CF-Talk Subject: RE: Pros/Cons Session vs Client scope How do you span sessions across ColdFusion

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Robert Everland III
When a user logs in to your site, you can create a session-based CFC. That CFC will hold personal information for that user. Session-based CFCs are great for any system that requires a login. Why wouldn't you just create a structure with that information in it? I don't understand why you would

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Dave Watts
How do you span sessions across ColdFusion servers if you aren't using Enterprise? You don't. Why would you even put CFC's into a session scope? Shouldn't they be in the application scope? CFCs are just variables, like any others really. You put user-specific variables in the Session or

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Ken Ferguson
Isn't it all a matter of how you cluster the machines though? I mean, if you want to use sessions in a clustered environment, you just need to make sure that your load balancer uses sticky sessions. Basically, the goal is not to ever toss users between servers, but just assign users to a

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Robert Everland III
I understand that CFC's are just like any other variables. My question is, why? I have used CFC's mostly to put functions that are used throughout an application into the application scope. So what would you put a CFC into a session scope for? What is that person doing different that makes it

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Dave Watts
Why wouldn't you just create a structure with that information in it? I don't understand why you would create a CFC for the user information. Can you explain in more detail. CFCs allow you to create variables that are objects - that contain both data and code, and can manipulate their own

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Ian Skinner
I understand that CFC's are just like any other variables. My question is, why? I have used CFC's mostly to put functions that are used throughout an application into the application scope. So what would you put a CFC into a session scope for? What is that person doing different that makes it

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Brian Peddle
Something to read that may help: http://www.horwith.com/index.cfm?mode=entryentry=59710A68-E081-0478-475D659 34BEA80CD ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and

Re: Pros/Cons Session vs Client scope

2005-11-23 Thread Sean Corfield
On 11/23/05, Robert Everland III [EMAIL PROTECTED] wrote: I understand that CFC's are just like any other variables. My question is, why? I have used CFC's mostly to put functions that are used throughout an application into the application scope. You're using CFCs as a way to wrap up

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Dave Watts
How do you span sessions across ColdFusion servers if you aren't using Enterprise? You don't. Isn't it all a matter of how you cluster the machines though? I mean, if you want to use sessions in a clustered environment, you just need to make sure that your load balancer uses

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Dawson, Michael
just a bit better than a struct would. M!ke -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 1:21 PM To: CF-Talk Subject: Re: Pros/Cons Session vs Client scope When a user logs in to your site, you can create a session-based CFC

RE: Pros/Cons Session vs Client scope

2005-11-23 Thread Jeff Chastain
. Is this correct? -- Jeff -Original Message- From: Ken Ferguson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 2:41 PM To: CF-Talk Subject: Re: Pros/Cons Session vs Client scope Isn't it all a matter of how you cluster the machines though? I mean, if you want to use sessions