|
-
Jun 21st, 2000, 08:40 PM
#1
Thread Starter
Hyperactive Member
Hi there,
What is the maximum number of session and application variables that one can have on any web application using ASP? What is the criteria for deciding this?
Thanks in advance.
-
Jun 22nd, 2000, 03:00 AM
#2
Hyperactive Member
I don't know what the maximum amount is, but you really wouldn't want to have too many because for every hit to your webserver, a session is created.
Each session variable is greater that 5KB or more in size
(usually more). You could imagine what kind of load that would be on your web server, especially if you had a handful of users on your site at the same time. Your webserver would be really slow.
I've even heard that you should disable session objects if your not gonna use them.
<% @EnableSessionState=False %>
A better solution might be to use hidden fields or cookies. If the information your passing isn't too sensitive you could pass it via the URL string.
-
Jun 22nd, 2000, 02:59 PM
#3
Frenzied Member
avoid using session variables!
session variables ARE cookies!
If the user has cookies disabled on his/her browser your site will not function as intended.
like compuGEEK suggests, use hidden fields instead if possible
read this:
http://www.4guysfromrolla.com/webtec...ced/faq4.shtml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|