Assuming your extranet is database-driven, use a separate database-driven page that doesn't require login - say, called, /serversalive.asp. That page should do a simple database query that should always return data. In my case, I do a select sum(1) from our clients table - which should always have data, hahaha. As long as that recordset returns data, then I write "ALIVE" to the page.
This is a great indicator of your web site status. It will fail if the database times out, if the database connection from the web server to the db server fails, if your web server locks up, or if your web server program (like IIS or Apache) isn't responding quickly. I set a very short timeout on this test, like 2 seconds, so that I know the instant my web server starts exhibiting problems. This also helps clue you in if your web server starts experiencing heavy load problems. I was the first one to know when our database transaction log dumps started taking too long, because my web page would take more than 2 seconds to respond. Brent -----Original Message----- From: [EMAIL PROTECTED] on behalf of Jason Passow Sent: Wed 2/4/2004 11:58 AM To: [EMAIL PROTECTED] Subject: [SA-list] Logging in to website I remember someone asking this before but I could not find an answer. Has anyone created a check that logs into a web page? We ask for email address and password in order for entry to our extranet. I have been monitoring the log in page but occasionally the log in page works while other pages do not. Anyone have any suggestions for me? Jason Passow [EMAIL PROTECTED] Mississippi Welders Supply Co. Phone: 507-454-5231 Fax: 507-454-8104
<<winmail.dat>>