Normal Practice....
From: Wilson Smith (WWilson67_at_hotmail.com)
Date: 11/03/04
- Next message: Curt_C [MVP]: "Re: Normal Practice...."
- Previous message: JMM B: "Re: Session.Abandon when closing the browser"
- Next in thread: Curt_C [MVP]: "Re: Normal Practice...."
- Reply: Curt_C [MVP]: "Re: Normal Practice...."
- Reply: Marina: "Re: Normal Practice...."
- Reply: Kevin Spencer: "Re: Normal Practice...."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Nov 2004 12:19:51 -0800
Microsoft document says use the Page_Unload event to perform final cleanup
work.
Like, closing files, closing database connections.
Considering the performance of the application is it always a good idea to
open the database connection at the Page_Load and do all the work and close
the connection in the Page_Unload event? Currently for each routine in its
specific function/sub routine I am opening the database connection and
closing.
I am just curious what the normal practice in the industry is in this
scenario.
Thanks for your reply.
Will
- Next message: Curt_C [MVP]: "Re: Normal Practice...."
- Previous message: JMM B: "Re: Session.Abandon when closing the browser"
- Next in thread: Curt_C [MVP]: "Re: Normal Practice...."
- Reply: Curt_C [MVP]: "Re: Normal Practice...."
- Reply: Marina: "Re: Normal Practice...."
- Reply: Kevin Spencer: "Re: Normal Practice...."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|