Coonect obj as Session Variable

Results 1 to 2 of 2

Thread: Coonect obj as Session Variable

  1. #1
    S Kaza Guest

    Default Coonect obj as Session Variable

    Is it possible to open a ADO Connection to a database only once for each session and use it in all pages, Without using session variables ?<BR><BR>I know using session variable to store connection object is not a good idea, but at the same time if I open connection in each page I feel that performance will hit.<BR><BR>

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Coonect obj as Session Variable

    have you heard of include files<BR><BR>do you know what happens to the objects when you leave the asp page or the asp page finishes executing<BR><BR>there is NO performance hit for you to worry about<BR><BR><BR>check this link<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts