• Case studies home
• ASPChatWorX
• Dreamweaver
• Front Page
• Getting started
• ASP support
• Database CDs
• Evaluation download
• Case studies
• Examples
• FAQ
• Features
• License and pricing
• What they say
|
|
Case Studies - ASPChatWorX
|
ASPChatWorX 3.0
Available at www.aspfree.com,
this ASP system uses StaticObjects and needs minor modification
to run under Dynamic-CD.
Copy global.asa to global.asp
and modify all references to <OBJECTS> :
<OBJECT RUNAT=Server
SCOPE=Application
ID=ASPChat
PROGID="Scripting.Dictionary">
</OBJECT>
<OBJECT RUNAT=Server
SCOPE=Application
ID=ASPChatTime
PROGID="Scripting.Dictionary">
</OBJECT>
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
' unpleasant word list
Application( "SwearWords" ) = Split("Mascelifedrosis, _
merkin, intercalate", " ")
End Sub
</SCRIPT%>
|
is modified to :
Sub Application_OnStart
SET Application( "ASPChat" ) = _
Server.CreateObject( "Scripting.Dictionary")
SET Application( "ASPChatTime" ) = _
Server.CreateObject( "Scripting.Dictionary")
' unpleasant word list
Application( "SwearWords" ) = Split("Mascelifedrosis, _
merkin, intercalate", " ")
End Sub
Sub Application_OnEnd
End Sub
Sub Session_OnStart
End Sub
Sub Session_OnEnd
End Sub
|
(Note that global.asp - if it exists - must implement calls to Session and
Application OnStart and OnEnd, even if they do nothing).
Finally, do a global replace in all files, replacing
Application.StaticObjects.Item("ASPChat") with
Application("ASPChat")
and
Application.StaticObjects.Item("ASPChatTime") with
Application("ASPChatTime").
© Copyright 2000-2007
PHD Computer Consultants Ltd
|