[thelist] Request object

Norman Beresford Norman at pigfe.freeserve.co.uk
Wed May 10 09:43:05 2000


thanks for the reply aardvark

I kind of guessed that there wouldn't be any big performance improvements,
but what I was more interested in was how the collections actually work, and
if addressing a collection which you have already addressed once will be
faster then addressing a new collection.

I did think about using session variables, but two things put me off. The
major concern for me is over the session timeout.  Some users of the site
are likely to stay on a single page for a long time, so any session
variables might time out, unless I set the session timeout to a high value,
in which case it'll tie up server resources.

The second thing was that most of the articles I've read suggest that
session variables have a tendency to eat up server resources and that you're
better off using other methods to pass information between pages.
Essentially the temporary cookies I'm using are session variables, I've just
passed their load onto the browser rather then the server.

Norman


----- Original Message -----
From: aardvark <roselli@earthlink.net>
To: <thelist@lists.evolt.org>
Sent: 10 May 2000 14:23
Subject: Re: [thelist] Request object


> > From: "Norman Beresford" <Norman@pigfe.freeserve.co.uk>
> >
> > I wasn't asking about the pros/cons of accessing information through
> > the Request.Form collection as opposed to through the Request object,
> > what I was interested in was how it would access that information, and
> > if mulitiple requests to the.Form collection are faster then, for
> > example, a request to the Form collection and a request to the
> > .Cookies collection.
>
> ahh....
>
> IME, there is no time difference... high traffic sites have been
> peachy about it...
>
> however, accessing data from the user's cookies collection,
> sending it over the wire, and processing, could take a bit longer... if
> you're just storing session information instead of cookies, it could
> go faster since the session information is stored on the server and
> only compares the ID of that session object to the ID set in the
> user's cookie... storing data in cookies that will disappear when the
> session ends doesn't make sense to me... but i'm no expert...
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>