300x250
IIS 가 아닌 asp 소스 상으로 SSL 페이지로 리다이렉트 하는 소스이다.
<%
If Request.ServerVariables("SERVER_PORT")=80 Then
Dim strSecureURL
strSecureURL = "https://"
strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
strSecureURL = strSecureURL & Request.ServerVariables("URL")
Response.Redirect strSecureURL
End If
%>
* 출처 : http://support.microsoft.com/kb/239875/ko?spid=2097&sid=global
300x250
'개발 > classic asp' 카테고리의 다른 글
| classic asp 에서 Response 4총사 - Write, Flush. Clear, End (0) | 2014.02.17 |
|---|---|
| jQuery | asp 에서 jQuery $.ajax 예제 (0) | 2014.02.13 |
| asp | asp 에서 숫자 세자리마다 점(콤마) 찍기 (0) | 2014.02.12 |
| asp | URL 에서 도메인(domain) 정보 가져오기 (1) | 2014.02.12 |
| aspjson - JSON for ASP (0) | 2014.02.12 |
