Scott,

> -----Original Message-----
> From: Purcell, Scott
> Sent: 09 November 2000 14:42
> To: '[EMAIL PROTECTED]'
> Subject: Cookie vs Text File For State
>
> My problem is that I am starting to have some speed issues. I am wondering
> if a "Cookie" would be faster, and if it is, is the below data too much
data
> for a cookie.?

I forget the exact limit, but you can only store so many cookies per
page/URL.  Plus it is not secure.  Plus it is IMHO bad manners (using client
HD for a DB).

If you _really_ need all of these variables throughout the site, then a
database or at least a dbm file seems like an idea.  If there are
'categories' of information here, you could at least split off the different
types of information and only load the ones you need at a given pont in the
site.  This will be a trade off in that having ten files and then having to
load all ten anyway would be worse, but if you are only likely to read a
fraction of these for any given request it could be realistic.

Dai

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to