Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > One or multiple command objects for ASP.NET app to MSSQL (or Acces

Reply
Thread Tools

One or multiple command objects for ASP.NET app to MSSQL (or Acces

 
 
=?Utf-8?B?QWxleCBGaW1pbmU=?=
Guest
Posts: n/a
 
      09-10-2004
Hi,

In my web application I am using one single command object to do stuff with
the db (UPDATE, INSERT etc). for all user sessions. Does it make any
difference if I:

a. Keep it this way
b. create new command for each routine
c. create new command for each session.

Any comments are greatly appreciated.

Thank you
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      09-11-2004
Alex,

When you do not use a class shared, however instance it everytime, it is
always an independend object in your page at serverside for that session
which lives as long as the page is processed at the server.

Cor

> In my web application I am using one single command object to do stuff

with
> the db (UPDATE, INSERT etc). for all user sessions. Does it make any
> difference if I:
>
> a. Keep it this way
> b. create new command for each routine
> c. create new command for each session.
>
> Any comments are greatly appreciated.
>
> Thank you



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert command for mssql express todd ASP .Net Web Services 0 02-09-2009 10:14 PM
MySql's equivalence to MsSql's 'TOP' command/function/clause =?Utf-8?B?S2VubmV0aCBQ?= ASP .Net 1 01-08-2005 09:28 PM
Acces Objects Using String Variable: Is it Possible? Himaxda0 Javascript 2 02-29-2004 04:05 AM
MSSQL JDBC driver crashing Java app? Christopher Dean Java 0 12-04-2003 05:53 PM
Sun SDK v1.3.1_09 '..javaw.exe ' command hangs on Win2000 MSSQL/SAP Install SAP BASIS Consultant Java 1 11-14-2003 07:19 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57