473,378 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Delay between BeginRequest and Page_Load ?

It looks like we have sometimes a very significant delay (for example 10 s
and sometimes more) between the beginrequest and page_load event. It would
make me think of some kind of locking issue (for example waiting for a
thread being available or something similar such as pages from iframes
competing for the session object etc...).

Does anybody came accross this kind of behavior ? Any indicator that could
be usefull in this situation ?

TIA
Jan 16 '07 #1
2 1705
It could be Viewstate reloading, if you have a lot of items in viewstate, as
viewstate is loaded between Init and Load. That would be one place to
examine.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"Patrice" <http://www.chez.com/scribe/wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
It looks like we have sometimes a very significant delay (for example 10 s
and sometimes more) between the beginrequest and page_load event. It would
make me think of some kind of locking issue (for example waiting for a
thread being available or something similar such as pages from iframes
competing for the session object etc...).

Does anybody came accross this kind of behavior ? Any indicator that could
be usefull in this situation ?

TIA
Jan 16 '07 #2
Thanks I added also a trace for the init event but this is still before this
event.

I analyzed further the problem and actually noticed that I have two alerts
from the same user at the same time. I believe that he uses a page that does
a lengthy export and meanwhile he goes on another page on the site to do
something else. As session variables are locked by the first page, the
second request begins but have to wait for the session to be available (i.e.
for the first page to finish) being stuck before the page loads.

I'll try to check this by tracing the appropriate sesssion event and/or
directly giving a try to the EnableSessionState page directive if
applicable.

Thanks anyway...

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMa écrit
dans le message de news:
A7**********************************@microsoft.com...
It could be Viewstate reloading, if you have a lot of items in viewstate,
as viewstate is loaded between Init and Load. That would be one place to
examine.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"Patrice" <http://www.chez.com/scribe/wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>It looks like we have sometimes a very significant delay (for example 10
s and sometimes more) between the beginrequest and page_load event. It
would make me think of some kind of locking issue (for example waiting
for a thread being available or something similar such as pages from
iframes competing for the session object etc...).

Does anybody came accross this kind of behavior ? Any indicator that
could be usefull in this situation ?

TIA

Jan 17 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Des L. Davis | last post by:
System: Dell PowerEdge Server with 3 GB RAM, 2.4 GHz Celeron Software: Microsoft SQL Server 2000 Enterprise running on Windows 2003 Server Software: Microsoft SQL Server 2000 Enterprise running on...
0
by: Sjaakie | last post by:
Hello, On BeginRequest event I check and set user language settings. First I check for browser's accepted languages and set Cultureinfo. If browserlanguage is not supported, CultureInfo is set to...
1
by: Juan Stang | last post by:
I'm trying to implement some kind of page controller, a class that will intercept all incoming requests and route them appropriately. More specifically, I'd like to intercept a request for a...
8
by: Jason Shohet | last post by:
Lets say I want a button to execute 10 seconds after I press it, not immediately. Any ideas how to cause that, in a code-behind. IMO its only server side code, I don't think javascript needs to...
5
by: Michael D. Jones | last post by:
Hi all, I would like to have a delay on a logout page. Here is what I have so far: logout.aspx ----------- Page_Load() FormsAuthentication.SignOut(); Thread.Sleep(5000);
2
by: Pietro | last post by:
Hello, I'd like to know if the BeginRequest Event in global.asax can be raised when i request a image or another file not an aspx page, if it can, how i do it? Thanks Pietro
0
by: Artur | last post by:
After trying to solve this, I noticed another strange thing. When in secure connection Page_Load method of page is not invoked (Load event not fired). I looked where this method is assigned to this...
0
by: =?Utf-8?B?QWxleGFuZGVyIEtvcm9s?= | last post by:
Hello I'm using .NET Framework v2. I'm trying to cancel the request writing a BeginRequest handler in Global.asax. Here is sample code: // Just some condition to check - in this sample...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.