[Classic ASP] 모든 세션 값 확인
For Each key In Session.Contents Response.write "Session : " & key & " : " & Session.Contents(key) & "<br>" Next
0 Comments
2023년 10월 30일
For Each key In Session.Contents Response.write "Session : " & key & " : " & Session.Contents(key) & "<br>" Next
이렇게 쓰면 에러남 <!--#include virtual="/_<%=p%>/<%=m%>.asp" --> 아래처럼 써야됨 <% Dim p : p = "main" Dim m : m = "index" If Request("p") <> "" Then p = Request("p") If…
abs() '절대값구하기' array(배열) '배열을 반환' asc() '문자의 ANSI문자값을 반환' atn() '아크 탄젠트로 반환' cbool() 'boolean형식으로 반환' cbyte() 'byte형식으로 반환' ccur() 'currency형식으로 반환' cdate() 'date형식으로 반환' cdbl() 'double형식으로 반환' chr() 'asc()함수의…
ASP.NET에서는 try catch 구문이 있지만 asp에는 존재하지 않는다. 대신 사용할 수 있는 구문이 On Error 구문이다. <% on error resume next Insert 시도.. if err.number<>0 then Response.Write "insert Error" else…