Application data and Connections

Results 1 to 2 of 2

Thread: Application data and Connections

  1. #1
    Steven L Guest

    Default Application data and Connections

    I think I&#039;m a bit confused:<BR>is it a terribly good thing, or a terribly bad thing to put an Open Connection or Command object into an Application variable?<BR><BR>I&#039;ve seend connection strings in Application variables, and Access creates pages which store Open Connections into Session variables, but is what I mentioned good or bad practice?

  2. #2
    Join Date
    Dec 1969

    Default Bad!

    It&#039;s bad practice. You should not store any objects in the application or session variables - I won&#039;t go into full details here because my mind&#039;s a bit of a blank atm. If you search this site, you&#039;ll be able to find plenty of posts and articles on the subject.<BR>You can put arrays or strings in application and session variables but not objects.<BR>:) Hope that was of some help.<BR>K.<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