Page Loads Very Slowly After Its Left Idle?

Feb 25, 2010

If the leave the webpage (any webpage) on my web application for a while (say 15 min), if I again click on another page it takes a long time to load (20 seconds)

I had a look through the google chrome --> developer module and found that, it is the web page which is the culprit here and the 'LATENCY' time for it is 17 seconds !!! and the actual 'download' time is only 117 ms.

A. what could be the cause of this issue?

B. What can I do to fix it?

View 3 Replies


Similar Messages:

Web Page Loads Slowly?

Jan 27, 2012

What would cause a single webpage to load slowly? I have javascript within the <head> element. The html consists of 2 <div> elements and within these <div> elements are a bunch of <table> elements and that's it.

The functionality of this site is such that each <table> element contains data that during the "onload" event, these <table> elements are hidden. Each <table> elements is controlled by an HTML menu (the menu itself is an html table). When a menu item is clicked, it will either display or hide the <table> element depending on whether it is already displayed or hidden.

View 5 Replies

Master Pages - Site On GoDaddy Loads Slowly

May 1, 2010

I just published a very small site to GoDaddy that I programmed in Microsoft Visual Web Developer 2008. The site only contains 6 sheets, none of which are data intensive. Each has a few small images that serve mostly to navigate to the other sheets. There is no data, no SQL, nothing like that. There is one master page that governs the page layout for all of the pages. Everything works fine, for the most part. I am posting because the site loads quite slowly, particularly considering how little content is being loaded. Can anybody give me any advice about what I should look at to speed this thing up a little bit?

View 2 Replies

AJAX :: Web Page Loading Slowly Due To Control Toolkit Controls

Jun 16, 2015

i have used some Ajax control toolkit in my web project. but the problem is that my web pages are loading very slowly because of ajax control toolkit, when i remove this web pages are working very fine and fast. I am using vs 2012 and framework 4.5..

View 1 Replies

Web Forms :: Page.IsPostBack Is False Incorrectly After Page Is Idle For About 20 Minute?

Feb 8, 2010

When any of my page is idle for about 20 minute, and after that if I hit any button, like Sumit Button or any other button, at this time, Page.IsPostback is again False, and none of the click event is fired and page gets reloaded again.

This happens only if I go like this, open up any of my webpage, keep it idle OR do nothing for about 20 minute, exactly on 21st or 22nd minute, Click on any of the button on the page, and the page gets reloaded, click event does not get fired. I debugged for this and I checked the Page.IsPostback value at this point and I got it as False after 20 minute, I don't know why. It should be True. And because of this my page gets reloaded and nothing gets submitted and every control is in the blank position once again and user have to enter everything again.

But if I enter everything and hit any of the button or Submit button within 20 minute, then everything works fine, Submit button's click event is also gets fired and everything works perfect.

And this is happening in all of my page. I am not sure what configuration is wrong.

But just for more details, I have a master page, I am using Telerik Controls and I have session Timeout set as 60 minute everywhere, in web.config and in IIS settings and in my App_Pool also. On my Master Page, I have ASP:ScriptManager, Tekerik:RadMenu, ASP:ContentPlaceHolder controls and some other controls and javascript code too.

[code]....

View 9 Replies

Web Forms :: How To Redirect To Login Page When Any Page Is Idle For 5 Minutes

Feb 23, 2010

I want to redirect to login page when any page is idle for 5 minutes and after re login I want to redirect to the page user is earlier in .

View 2 Replies

C# - How To Prompt User If Page Is Idle From Last 5 Minutes

Mar 28, 2011

What is the best approach to prompt user, if he is idle on webpage from last 5 minuts.

i mean how to know that use is idle on web page from last 5 minuts.

View 2 Replies

Web Forms :: Page Idle Postback Time Out?

Jul 19, 2010

when i leave my page idle for about 2 minutes.

When i do a postback from my linkbutton it fails.

The browser then shows "Internet Explorer cannot display this webpage" I then also receive a Request Time Out in the event log.

Does anyone have similar experience with this, not sure what could be causing this since it happens on all pages in my application.

View 8 Replies

Web Forms :: Page Not Found Error 404 After 20 Minutes Idle?

Feb 19, 2010

I have a page that have a combobox and a button, when the user select something from the combobox and hit the Go button they are redirected to the page with the desired variable.

[Code]....

The problem appears when the page was not used from more than 20 minutes and the user select something from the comboBox and hit Go Button the receive a page indicating the Error 404.The only thing that I try is to use a javascript code that Refresh the page every 15 minutes but is not nice to see a page refreshing without a reason.If someone can have a way to identify what can be done in this problem, Its going to be a huge help.

View 2 Replies

Configuration :: IIS Turn Around Time To Long After Page Is Idle?

Nov 12, 2010

I have IIS 7.5 running on windows 7 64 bit machine.

My problem is that in my web application after any page request if the page remains idle for more than 2 mins, it stops responding. For e.g. lets take the following scenario:

1. Initial page request

2. the page stays idle for 2 mins

3. Click a button to save data

4. It takes very long for the aspnet worker process to reach page_load, and firefox shows "connection was reset" message.

I put breakpoint on page_load. It strikes the breakpoint after a long time and also it does not go to the event handler of the button that was clicked.

The web application works perfectly if the page is not kept idle.

I am not using sessions in my web application.

View 3 Replies

Web Forms :: On Clicking The Save Button The Page Remains Idle

Feb 1, 2010

In a page hving some textboxes and dropdownlists with every control having server side validation controls.On selecting a dropdown all the validation controls are disappear and on clicking the save button the page remains idle.

View 3 Replies

Configuration :: Error Message After Page Is Idle For 10 Minutes / Validation Of Viewstate MAC Failed

May 9, 2010

I have a problem in my web site ...

When ever i left my website idle ...

The following message is displayed ...

After this message is displayed , no pages is able to access ....

The error message is :

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster

View 2 Replies

Web Forms :: Prevent Master Page From Loading Whenever Content Page Loads?

Mar 10, 2010

The problem with my web application is when ever i load the home page - The master page as well as content page loads ---This seems fine but when i navigate thorugh the website which have the same Master page but diffrent content page .... the master page loads again. What i want to do is ..I want to keep the master page intact and only the content page loads. How can I accomplish it..

View 3 Replies

Develop A Page Where Individual Section Will Load With Busy Icon When Page Loads Without Using Web Parts?

Feb 11, 2011

i have seen many site where individual web parts load with busy icon when page loads. without using web parts how can develop a page where individual section will load with busy icon when page loads.

View 1 Replies

Identify Content Page Loads In A Master Page Dynamically?

Jun 3, 2010

I have a master page 'Master1' and i have used a content place holder 'content1' and loads pages 'Page1' and 'page2' in the 'content1'. Is there any way to identify which page is loaded to the content place holder whether it is 'Page1' or 'Page2' dynamically.

View 2 Replies

Web Forms :: Minimize And Close Buttons Disappears When Webpart Page Remains Idle For 1 Hour

Feb 28, 2011

I have asp.net webpart page with close and minimize buttons for the webparts.

These buttons are disappering if page remains idle for 1 hour

View 3 Replies

Page Loads Twice Due To Js Code?

Apr 3, 2010

I have this div inside a repeater, where i set the class, onmouseover and onmouseout properties from code behind:

<div id="Div1" runat="server" class="<%# getClassProduct(Container.ItemIndex) %>" onmouseover="<%# getClassProductOver(Container.ItemIndex) %>" onmouseout="<%# getClassProductOut(Container.ItemIndex) %>">

codebehind:

public String getClassProduct(Object index)
{
int indexItem = Int32.Parse(index.ToString());
if (indexItem == 3)
return "produs_box produs_box_wrap overitem lastbox";

[Code]....

This code is fired initially, and after the page is rendered, it is called again, and executed again due to that js...

UPDATE: happens only in Firefox. On chrome, it works fine...

"Solution": deactivated YSlow....just "horrible".

View 1 Replies

Configuration :: 2.0 (VB) Page Loads Only On The First Try?

Aug 23, 2010

have an ASP.Net 2.0 (VB) application which connects (SQL Authentication) to SQL Server 2008. I publish the application to our intranet. The start page is frmMain.aspx. I RDP to a "neutral" PC (one like our users have) and the site loads fine the first time in. The users cannot bring up this application, however (it does not load--times out). They have been able to run this application before from this same intranet location and have not had problems. I have re-published the site, but this behavior continues.

View 2 Replies

Redirecting To Folder Web Page When Page Loads?

Mar 10, 2010

I have a created a web portal in multi-language. I put all the pages related to "english-language" in one folder (/english) and "arabic-language" in one folder. I didn't have a default.aspx in my root folder(wwwroot), its in /english folder. There is no
index.htm or default.aspx page in my root folder.I am very confused how can i redirect the default.apage when page loads. The default pages is stored in /english folder.

View 3 Replies

Page Loads Twice In Google Chrome

Jan 5, 2010

Does anyone have any problems with Page_Load being executed twice in Google Chrome?
It's a short question, i do not know what else to explain...

I have a simple asp.net page and in Firefox and IE all it's working fine.
But in Chrome the Page_Load is fired twice...

Later EDIT:
- what is strange is that i have 4 repeaters... binded with random values. The random methods are twice fired (because of page loaded twice) but the repeaters takes the INITIALLY values...so, the 2nd post back is somehow raised after the rendering step.

3rd edit: It happens ONLY at the refresh!

Solution (in my case): There was an empty img src, and that was the cause

View 13 Replies

Programmatically Run Javascript When A Page Loads?

Jun 3, 2010

In my global.asax file for my ASP.net project, I am checking for certain conditions. When those conditions are met, I want to automatically execute javascript code when the page runs.

This is my code:

if condition Then
Response.Write(" < script type=""text/javascript"" > ")
Response.Write(" // Javascript code to do stuff ")
Response.Write(" < /script > ")
End If

While this appears to work to execute the Javascript code, I don't think it's a best practice because this code will preceed all of the HTML of the page that gets loaded.

What is the best way of programmatically tacking on some extra Javascript code to be run when my page loads?

View 3 Replies

Javascript Update Before Page Loads?

May 29, 2010

I'm trying to update values from a xml file into textboxes. I have this javascript being called in the Page_Load event

this.Page.ClientScript.RegisterStartupScript(this.GetType(), "Script", sb.ToString(), true);

I click the continue button which does a post back but the values are not updated until I refresh the page again which makes me think the js isn't being run until after the page is returned. I'm wondering how to have the values updated when the page is refreshed after the button postback.

View 2 Replies

Gridview Not Showing When Page Loads?

Apr 4, 2011

The gridview is not displaying when the page load even though I have bind the gridview with the datasource.... below is the code..

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DSF_View_ChangeRequest.aspx.cs" Inherits="DSF_View_ChangeRequest" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

[code]...

View 1 Replies

C# - Add A Event To .NET Control When The Page Loads?

Feb 24, 2011

ASP.Net web forms, .NET 2.0

I have a dilemma. I have an aspx page that has a custom control:

<def:CustomControl ID="customID" runat="server" />


The custom control can be added multiple times to the ASPX page if certain criteria is met:

<asp:Repeater runat="server" ID="options" OnItemDataBound="options_OnItemDataBound">
<HeaderTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%">[code]...

In the code behind of the aspx page, I wanted to append a event (OnSelectedItemChange) to the dropdown control that isn't actually on the ASPX page (yet). However, when I try to do something like the following in the code behind:

foreach(Control eachControl in customID.Controls) {
if (eachControl.HasControls) {
Control DdControl = eachControl.FindControl("optionValues"); //always null

[code]....

But All that eachControl has is a repeater, and it shows its childcontrol count as 0. So when it get to the FindControl method, it always returns null.

QUESTION.So what I am trying to do is add an event (OnSelectedItemChange) to the dropdownlist control inside the repeater (which is a custom control that gets added to the page if criteria is met). When a selection is made in the drop down, I want it to trigger the Event method.

How can I either: A) Find a way to add the event if the dropdownlist control exists on the page?

OR

B) A way to be able to call a method in the code behind and pass the selections from all the drop down lists (since the custom control could be added more than once creating multiple drop downs?

NOTE I don't have the code in front of me, so if I have something syntactically incorrect, please overlook. I also know that ID's are unique, so this is also assumed to be a problem with my logic. When it renders these, the ID's might be mangled by the asp name convention which I would assume I have to find a way around.

View 2 Replies

Web Forms :: Error When Page Loads?

Jan 5, 2011

Here's is my code I just added to my DLL (using it in my website):

[Code]....

Then, in my page_load event, I just have:

[Code]....

I've added a reference to the dll and I've imported it in my page - the only other method (sub) works just fine, but with this, I get an error:Method not found: 'System.String HSIR_Common.Main.StripCurrentUser(System.String)'.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved