global.asa - Timeout - Session - hjælp
Jeg sendte nedenstående til Azero hvor jeg har mit webhotel.-----------
Jeg er ved at sætte dette script op http://www.ocean12scripts.com/products/mailinglist/ her på min side http://www.tinemuller.dk/mailinglist/, men oplever HELE TIDEN er jeg skal logge ind igen, og når jeg prøver at skrive en HTML-meddelelse, opdager jeg at jeg er timeout'et og så skal jeg skrive det hele igen.
Kan I hjælpe mig med hvad jeg skal rette i? Jeg har opsat denne script med JMail hos jer.
Når jeg søger i ALLE filerne finder jeg kun 2 og i disse står bl.a.
Server.ScriptTimeout = 1000000
Er det denne kode jeg skal ændre på eller er det noget hos JER?
--------------
"Vi" er nu nået frem til at det sikkert er p.gra. af "noget" som jeg har stående i en global.asa fil, hvori jeg har indsat nogle koder for at få et Snitz forum og ConquerChat til at fungere og disse har virket et par år.
----- global.asa -----
<OBJECT
RUNAT="Server"
SCOPE="Application"
ID="conquerChatUsers"
PROGID="Scripting.Dictionary">
</OBJECT>
<OBJECT
RUNAT="Server"
SCOPE="Application"
ID="conquerChatRooms"
PROGID="Scripting.Dictionary">
</OBJECT>
<OBJECT
RUNAT="Server"
SCOPE="Application"
ID="conquerChatMessages"
PROGID="Scripting.Dictionary">
</OBJECT>
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Application("ActiveUsers") = 0
Application("HighestToDate") = 0
Application("TodaysDate") = Date
Application("VisitorsToday") = 0
End Sub
Sub Session_OnStart
Session.Timeout = 1 '## minutes
Session("Start") = Now
Application.Lock
Application("ActiveUsers") = Application("ActiveUsers") + 1
if Application("ActiveUsers") > Application("HighestToDate") then
Application("HighestToDate") = Application("HighestToDate") + 1
end if
if Application("TodaysDate") = Date then
Application("VisitorsToday") = Application("VisitorsToday") + 1
else
Application("TodaysDate") = Date
Application("VisitorsToday") = 1
end if
Application.UnLock
End Sub
Sub Session_OnEnd
' Decrease the active visitors count when the session ends.
Application.Lock
Application("ActiveUsers") = Application("ActiveUsers") - 1
Application.UnLock
End Sub
</SCRIPT>
----- global.asa -----
De henviser nemlig til disse links
http://tinemuller.dk/serverinfo/info/
http://emma.andersenit.dk/serverinfo/info/
som jo viser at på mit domæne vises
Timeout 90 sekunder (Script)
1 minutter (Session)
Og på serveren "emma" hos Azero vises
Timeout 90 sekunder (Script)
20 minutter (Session)
De vil ikke hjælpe mig videre og sagde at jeg skulle stille spørgsmålet her:
SÅ - HVAD KAN JEG GØRE NU?
/Tine
