Running classic asp web application in recent DataFlex versions: Difference between revisions

Adding more details on where the PageScopedSession should be set
m (Changed from Web Programming to Web Applications category)
(Adding more details on where the PageScopedSession should be set)
Line 10: Line 10:
WebAppServerSession.PageScopedSession=False
WebAppServerSession.PageScopedSession=False
</pre>
</pre>
So suppose you have a classic webapp that's called "BookCollection" then the edited global.asa would look along these lines:
<pre>
<OBJECT RUNAT=Server SCOPE=Session ID=WebAppServerSession PROGID="WebAppServer.Session.19.1">
</OBJECT>
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
SUB Session_OnStart
    WebAppServerSession.PageScopedSession=False
    WebAppServerSession.Initialize("BookCollection")
    Session.Timeout=1
END SUB
</pre>


See also:
See also: