[thelist] ASP questions
Scott Dexter
sgd at ti3.com
Thu May 11 13:17:11 2000
They're smart, and have some ASP knowledge.
The ASP Session object uses server-side memory to persist client sessions.
IIS passes a sessionid cookie to the browser, and uses that id to relocate
the session information. There are a couple significant drawbacks to using
the Session object: 1) you can't use it across servers, and 2) you can eat
server resources, and if you're new to ASP, you can really hose yourself by
setting a Session object to an object that isn't threaded properly, thereby
throttling IIS to a single thread (You basically hose performance in a major
way)
--The workaround to persisting session state is either client side cookies
or persisting to a db or filesystem.
"Option Explicit" is a VB/VBScript statment that enforces variable
declaration. Good code convention, and it actually buys some performance
gain ....
sgd
--
think safely
> -----Original Message-----
> From: James Spahr [mailto:james@designframe.com]
>
> 1. No ASP session variables
> 2. They insist on the use of 'Option Explicit' in the VB code
>
> I'm more interested in why they don't want session variables.
>