blog.visualp.com
If you want to change it, you need to do this on the client, as Remus already mentioned. The client is creating the connection pool.
You can specify the connection pooling properties in your connection string that you use to connect to SQL Server. The most important properties are:
So if you want to enable pooling and have min. 20, max. 250 connections, you could use this connection string:
server=MyServer;database=MyDatabase;Pooling=True;Min Pool Size=25;Max Pool Size=250
For more details, see the MSDN docs or check out the Connection Strings web site.
Marc
netstat -an | find "80" | find /c "ESTABLISHED"
80 is port number
if i set port number , i get total of port number !
[원문] - http://www.chrishardy.co.uk/asp/tutorials/dateadd.asp
<%
sDate = Now()
sNewDate = DateAdd("m", 1, sDate)
sMonthNext = Monthname(Month(sNewDate))
%>
s - Second n - Minute h - Hour d - Day y - Day of year w - Weekday ww - Week of year m - Month q - Quarter yyyy - Year
[원문] : http://blog.naver.com/PostView.nhn?blogId=hhth1115&logNo=140155762500
declare @i datetime, @j datetime -- 시작 시간, 완료시간
set @i='2002-01-02 10:22:22'
set @j ='2002-01-03 22:23:24'
declare @z int
select @z=DATEDIFF(SECOND, @i,@j) -- 시작시간과 완료시간의 차이(초)
select right('0' + convert(varchar, @z/(60*60)),2) + ':'
+ right('0' + convert(varchar,@z % (60*60) /60),2) + ':'
+ right('0' + convert(varchar,(@z % (60*60))%60),2)
결과
--------------------------------------
36:01:02
핵심은 : DATEDIFF 함수를 사용 한다는 것과 , 초로 변환된 값을 가지고 , 시간차를 계산 한다는 부분 입니다.
- 인터넷 게스트 계정(IIS-서버이름) = 쓰기 권한 거부
(업로드 컴퍼넌트 사용시 업로드 폴더만 쓰기권한 부여 하시면 됩니다.)
- USERS 그룹계정 과 II_WPG(IIS 작업자 프로세스 그룹) = 읽기 및 실행, 폴더내용보기, 읽기 권을 부여하시고
- ADMINISTRATORS, SYSTEM = 모든 권한 부여 하시며
- CREAT OWNER = 루드에서 상속받은 권한 그대로 두시면됩니다.(잠금된 상태,특정권한)
2. 업로드 폴더 문제
- 2003에서도 해당 폴더에서 인터넷 게스트 계정에 쓰기 권한을 주시면 됩니다.
권한을 상속받은 것이므로 먼저 상속 포기하신 후 고급탭 - 복사 하신 후
돌아오셔서 쓰기 권한 거부에 체크 된 것을 없애고 쓰기에 허용을 체크 하시면 되겠죠.
[원문] : http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=7&MAEULNo=5&no=61939&ref=61382
snuoap.php의 parseResponse function 에서
아래와 같이 $this->xml_encoding setting하는 부분을 모두 주석처리하고,
항상 'ISO-8859-1'로 되도록 수정했습니다.
/*
if (strpos($headers['content-type'], '=')) {
$enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
$this->debug('Got response encoding: ' . $enc);
if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){
$this->xml_encoding = strtoupper($enc);
} else {
$this->xml_encoding = 'US-ASCII';
}
} else {
// should be US-ASCII for HTTP 1.0 or ISO-8859-1 for HTTP 1.1
$this->xml_encoding = 'ISO-8859-1';
}
*/
$this->xml_encoding = 'ISO-8859-1';
그리고 .NET으로 만든 웹서비스에서 return되어 온 값은
php의 iconv함수를 이용해서 아래와같이 변환을 하니
한글이 제대로 처리되었습니다.
iconv("UTF-8", "EUC-KR", 리턴값);
혹, 저처럼 php에서 nusoap.php를 이용해서 .NET 으로 개발된 웹서비스와 연동을 할 경우가
생기는 분이 계실까봐 자문 자답을 올립니다.