Billy_ 36 Newbie Poster

Hi,

I'm not sure what you're trying to do here.... Could you just use something like...

Private Sub lnkVac_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lnkVac.Click

'Dim Timevisited as string
'Response.Redirect("Vacancies.aspx")

label1.text = Now()

End Sub

You could change the Now() bit with Today() or TimeOfDay() to get just the date or just the time if need be. :eek:

Also, if you have the Now() bit after your response redirect, how will the label get set?

Billy_ 36 Newbie Poster

Just received some feedback about this (below) ... Will let you know how this goes.

Some notes
- the lag always seems to happen at the beginning of a request (not in the middle as you mentioned)
- we've looked into this issue for months now. most of the time spent has been looking for possible application causes.
- I think we've had 404 errors. we've definately got some .net 'request timed out' errors and weird viewstate/session errors that we think could be related to this problem.

---------

What about non-IIS network issues...Like Terminal Services? (Preferably through the firewall over VPN.) What does the network activity on the NICs look like at the time of the slowdowns?

> Idea: Isolating applications (all applications currently run in the same worker process)

I don't know if that's going to help you...Since you said that it's even effecting FTP calls. That's a different service altogether.

Since both web and and ftp are definitely being effected, and the server utilization is very low, My first thought is that I'd want to concentrate on looking for network issues, from the server's network interfaces on out.

Billy_ 36 Newbie Poster

We have an really weird problem on our web server. A few times each day, all requests are unanswered for 10 to 30 seconds.

The delay looks similar to when a page is compiled (on first load). However, when the problem occurs it looks like all users of all applications/pages (classic asp, html, asp.net, ftp) are affected.

Server info:
Win2k Server SP4, running iis 5.0 with .NET framework 1.1
2GB RAM
2 x hyperthreaded XEON 2.4 GHz CPUs

Some things to note:
- When the blockage occurs, the CPU is typically at about 1-10 %, and memory usage is between 100-500mb
- Nothing in the event log
- There's no obvious pattern in the times that the lag occurs

Here's some of the things we've identified that might be causing the problem (some we have been able to test, others not).

---> Looking at when the lag occurs (from the IIS logs) and looking for a way to generate the lag (still have not found a way)
---> Scheduled tasks on the server
---> Sync blocks used in application code
---> Virus scanner / backup script could be accessing a machine.config file
---> Problems with using Microsoft Access with web apps
---> .NET framework / trust levels
---> .NET framework / using too much client script
---> The problem might be caused by application errors
---> The problem might …

Paladine commented: Good post! Nuff Said! +36