|
-
Jul 2nd, 2001, 05:43 PM
#1
Thread Starter
Fanatic Member
application, session or single page data connection
The latter seems a bit excessive to me. This is probably a typical beginners question that gets asked a thousand times.
I'm just wondering if anyone has any suggestions on the best place to create a data connection. Should it be at application, session or on each individual page.
Thanks
-
Jul 3rd, 2001, 02:08 AM
#2
Frenzied Member
Don't store ADO objects in the session object or the application object. The best thing to do is use an ActiveX dll that does your connecting and database activity.
When you store objects in the session object for example, it takes server resources to store it. But it will continue to store the object(s) until the session times out if the user browses to another site or just closes the browser. Multiply this by the number of concurrent users and you can see the potential problem.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
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
|