No-one else has answered so for what it's worth here's what I've heard:

Session variables don't work well in a server farm as they are specific to
the given server. So if you have some kind of load balancing going on
whereby clients are served pages from different servers depending on how
busy each one is, that will be negated as the session will tie each client
to one server.

Even if this isn't an issue at the moment, how scalable do you want your
site to be?

Mark

-----Original Message-----
From: Nick Slay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 10:50 PM
To: CF-Talk
Subject: Session Variable vs Application.cfm Opinions


This is a multi-part message in MIME format.
--------------B7EB5F3727E53FF272E76A94
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854";
x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit

Hi,

I am currently making some enhancements to our latest project,
www.yourorganiser.com.au, and I've run into a question I thought I'd throw
out to the list...

Once a user logs on, I store some of their preferences as session variables.
We also support affiliates, which can load different images and frame pages
depending on where they
come from, I am also storing the paths to the images as session.variables.

How 'safe' are session variables?

I started to wonder whether it would be any better/worse if I added code to
the application.cfm file to read the preferences/affiliate settings so they
are available as local
variables on each page.  I realise there will be database read overheads...

I was simply curious to hear if anyone had any problems relying on session
variables at all.

Thanks

Nick



--------------B7EB5F3727E53FF272E76A94
Content-Type: text/x-vcard; charset=us-ascii;
 name="nickslay.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nick Slay
Content-Disposition: attachment;
 filename="nickslay.vcf"

begin:vcard 
n:Slay;Nick
tel;cell:0414 810284
tel;home:02 4381 0284
tel;work:02 4381 0284
x-mozilla-html:FALSE
url:http://www.webbods.com.au
org:Webbods Pty Ltd
adr:;;PO Box 4054;Copacabana;NSW;2251;Australia
version:2.1
email;internet:[EMAIL PROTECTED]
title:Technical Director
x-mozilla-cpt:;3
fn:Nick Slay
end:vcard

--------------B7EB5F3727E53FF272E76A94--

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to