在我们的asp.net 2.0应用程序中,我们使用httpmodule和httphandler通过cookie计算一些指标。为了计算网络传输时间,httpmodule:EndRequest将Transferstart存储在cookie中,而httphandler:Processrequest使用datetime.now来减去transferstart以确定整个网络时间。这样做是正确的吗?我也不清楚请求流程。它是否像这样进行:请求 > HttpModule::OnStart > HttpModule::OnEnd > HttpHandler::ProcessRequest?