繁体中文
设为首页
加入收藏
当前位置:ASP技术首页 >> XML相关 >> Using SOAP from inside ASP,maybe helpful for you!

Using SOAP from inside ASP,maybe helpful for you!

2004-10-01 08:26:10  作者:  来源:互联网  浏览次数:16  文字大小:【】【】【
简介:default.asp ------------------------------------------------------------------------ <%@ Language=VBScript %> <%Option Explicit%> <!-- #include file="i_soapcall.asp" -->...

default.asp

------------------------------------------------------------------------

<%@ Language=VBScript %>

<%Option Explicit%>

<%

Dim ASPNETResources

If len( Application("ASPNETResourceList") )>0 then 'we have our latest resources

REM -- check to see if they expired

If DateDiff("h",Now(),Application("ASPNETResourcesUpdated")) > Application("ASPNETExpires") Then

REM -- we need to update the latest resurces

ASPNETResources = GetASPNetResources()

Application.Lock

Application("ASPNETResourcesUpdated")=Now()

Application("ASPNETResourceList")=ASPNETResources

Application.UnLock

End if 'datediff...

Else 'for some reason the application level variable is empty, fill it.

ASPNETResources = GetASPNetResources()

Application.Lock

Application("ASPNETResourcesUpdated")=Now()

Application("ASPNETResourceList")=ASPNETResources

Application.UnLock

End if 'len(..

Response.Write Application("ASPNETResourceList")

%>

global.asa

------------------------------------------------------------------------

i_soapcall.asp

-----------------------------------------------------------------------

责任编辑:admin
相关文章