> 1. In a shared hosting environment if you do proper locking 
> of session variables in your application and another application 
> does not how does that affect you?

Negatively. That is, you can be as vigilant as possible with locking, but if
another application isn't, that application may cause server instability,
and if sharing the same scope such as the Server scope, will ignore the
locks you've placed on the scope when your app uses it.

> 2. If the answer to number 1 is that it destabalizes your 
> application would it then be better to have variables stored 
> in cookies rather than session variables?

Perhaps, in the sense that you'd be less likely to have concurrency
problems, all other things being equal. However, if the other app causes the
server to crash all by itself, your app won't run very well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to