Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Re: Set up timeout

 
Thread Tools Search this Thread
Old 11-03-2009, 02:40 PM   #1
Default Re: Set up timeout


On Nov 3, 2:45*pm, "aspfun via DotNetMonster.com" <u53138@uwe> wrote:
> I am going to make a setting for timeout in the following places:
> 1) SQLCommand.CommandTimeout
> 2) IIS, default web site, properties, connection timeout
> 3) webcofig, ConnectionString, timeout
> Questions:
> Do I need to setup all three place or only one or two?
> (Provide that code is good and connection was closed after update or insert
> procedure)
>
> --
> Message posted viahttp://www.dotnetmonster.com


It depends on what you need to do. Connection Timeout in IIS sets the
time before the server disconnects an inactive user.
SQLCommand.CommandTimeout determines the maximum number of seconds the
command is given to execute the sql. And the timeout of connection
string in the web.config file will only controls the timeout of the
connection to the database. All three options do different things.


Alexey Smirnov
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optiplex 620 Serial card Problem Mike Computer Support 6 07-10-2007 02:30 AM
Spoke to Spoke Enhanced Config (ASA-PIX) NEED HELP ASAP!! T-Mak Hardware 1 10-27-2006 11:56 AM
Help required in interpreting the 'Timeout' field in parallel port's EPP mode. amitsheth@gmail.com Computer Information 1 08-25-2006 11:54 PM
Windows XP takes too long to start up silva.antonio@gmail.com Computer Support 2 05-25-2006 02:50 AM
Part of network has a internet timeout problem news.losch.net Wireless Networking 6 12-19-2005 03:08 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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