By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,335 Members | 2,281 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,335 IT Pros & Developers. It's quick & easy.

asp Timer

P: n/a
Hi,

I need help writing a script that checks to see how long an asp application has been active on the server. The basic logic is - If the timer and application exceed 60 minutes then refresh the application and start over.

The reasoning behind this is that I am pulling in a header navigation using the following.

Set objHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objHTTP.Open "GET", "header navigation reference here", false
objHTTP.Send
Response.Write objHTTP.ResponseText

So far here is what I have:

Sub Application_OnStart
Dim objHTTP
Set objHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objHTTP.Open "GET", "https://www.getlower.com/cobrand_cic.aspx", false
objHTTP.Send
Response.Write objHTTP.ResponseText
End Sub
Thanks for any input you may have.

Mike

-----------------------------
This message is posted by http://asp.forumszone.com

Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Mike wrote on 03 dec 2004 in microsoft.public.inetserver.asp.general:
I need help writing a script that checks to see how long an asp
application has been active on the server. The basic logic is - If the
timer and application exceed 60 minutes then refresh the application
and start over.


That doesn't mean a thing to me!

What is "active on the server", a session?

What is an "asp application" in this sense,
a requested page or also a session?

Is that timer script an ASP script you are talking about?

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.