http://hanhead.tistory.com/entry/generate-GUID-1
<%
public function generateGUID()
generateGUID = ""
set typelib = server.createObject("scriptlet.typelib")
generateGUID = typelib.guid
set typelib = nothing
generateGUID = mid(replace(generateGUID, "-", ""), 2, 32)
end function
%>
<%
public function generateGUID()
generateGUID = ""
set typelib = server.createObject("scriptlet.typelib")
generateGUID = typelib.guid
set typelib = nothing
generateGUID = mid(replace(generateGUID, "-", ""), 2, 32)
end function
%>
'asp' 카테고리의 다른 글
Calculate Distance and Radius in ASP (0) | 2010.08.24 |
---|---|
Class implementation for using webservices in ASP (0) | 2010.08.24 |
ASP JSON Utility (0) | 2010.08.24 |
ajaxed v 1.0 (0) | 2010.08.24 |
escape JSON function (0) | 2010.08.24 |