Loading Of Website "longer Inactive Period"
Sep 29, 2010
I am facing a strange issue with my website. If there is a longer inactive period (say a few hours) on my website, and when it is first opened after a longer period of inactivity, it takes almost 50 to 60 seconds to load 1st page. However, thenafter if you reload the indexpage or open any other pages, they are opening in a few seconds. This is trace information about opening my default page . (After 8 ours of innactivity)
aspx.page Begin PreInit
aspx.page End PreInit 6,5818664 6,581866
aspx.page Begin Init 6,5971016 0,015235
aspx.page End Init 6,9403593 0,343258
aspx.page Begin InitComplete 6,9404871 0,000128
aspx.page End InitComplete 6,9406603 0,000173
aspx.page Begin PreLoad 6,940708 0,000048
aspx.page End PreLoad 6,9622082 0,021500
aspx.page Begin Load 6,9623434 0,000135
aspx.page End Load 44,5811131 37,618770
aspx.page Begin LoadComplete 44,6315493 0,050436
aspx.page End LoadComplete 44,6571296 0,025580
aspx.page Begin PreRender 44,65722 0,000090
aspx.page End PreRender 45,0207436 0,363524
aspx.page Begin PreRenderComplete 45,0208894 0,000146
aspx.page End PreRenderComplete 50,0494938 5,028604
aspx.page Begin SaveState 50,3189146 0,269421
aspx.page End SaveState 51,6102916 1,291377
aspx.page Begin SaveStateComplete 51,6104301 0,000139
aspx.page End SaveStateComplete 51,6104991 0,000069
aspx.page Begin Render 51,6105747 0,000076
aspx.page End Render 51,7896603 0,179086
View 5 Replies
Similar Messages:
Jun 15, 2013
When user log's in with it's emaild and password, I have stored it's email id in session variable as: Session("user"). After logged in, If i leave the page kept opened OR ideal for sometime and after thatt if I select any option from user profile, the session variable get expired and send's me back to login page. I want that if I would create 2 to 3 session variable's it should remain activated for longer period. So that even if page kept ideal for longer period and then if selects any option, the session variable's should not be expired soon.
View 1 Replies
Feb 28, 2010
This is my approach : I reserve last time that a user post a postback to server in a session and in every postback subtract this value from current value. Is there a better way for this?
View 1 Replies
Jun 17, 2013
My asp site make user log out automatically in 10 minutes how can i increase the time.
View 1 Replies
Mar 6, 2010
I have a new development machine running windows 7 professional 64 bit. On loading up a website project Im getting this error
'The Web Application Project 'websitename' is configured to use IIS. To access local IIS websites, you must install IIS components:
IIS 6 Metabase and IIS 6 Configuration Compatibilty
ASP.net
Windows Authentication
In addition you must run Visual Studio in the context of an administrator account
As far as Im aware, I am an administrator of my own pc and I have the .net framework installed.
View 4 Replies
Jul 17, 2010
why my website is not loading ?https://jamboinc.com/Default.aspx
View 4 Replies
Jan 22, 2010
I have noticed two time-related problems with my website:
[1] Slowness of loading the graphics for each page in the browser;
[2] Receiving a "Runtime Error" page in the browser when I do take action on the site (e.g. navigate to another page) within approx. 30 seconds.
Are these problems related to limitations of my web host?
View 3 Replies
Jun 10, 2010
I've been developing a game using Silverlight 4 and silversprite (http://silversprite.codeplex.com/)
This game is HEAVILY content dependent, using a lot of audio and images. My content folder is around 90 mbs worth of stuff. And because of that, my XAP file is around 60 MB, and takes 5 minutes to download from the website before any user can start playing.
I am using Visual Web Developer 2010 to create my site and load the XAP. Is there a way where I can take content out of my XAP and put it in my ASP.net site project? Or perhaps upload my content files to the site's storage?
This would make my XAP file much quicker to download.
View 2 Replies
Dec 27, 2012
I want increasing my website pages loading speed
I know one of thing is compress css file is there other thing that I do to increasing webpage loading speed?
View 1 Replies
Jun 11, 2010
I have a master page in my website. I want some sort of container to load external website in my contentplaceholder.Frames and object tags are the tried options. My DOC type doesn't support Frames and object tag has that scroll border displayed by default and I can't remove it because it will be a page from another domain.
On the loaded site the users will be able to browse and search products, so I just dont want to read the html once. That will be the actual website loaded/displayed.
View 4 Replies
Dec 27, 2010
I am trying to create my own website management framework similar to DNN/SiteFinity (only a mucho cut down version).
One of the big (but common) features is to be able to dynamically add user controls to provide additional functionality.
I would prefer to use a pre-compiled .NET "Web Application" over a dynamically compiled "Website".
What are the implications of using LoadControl method to dynamically add a user control for a pre-compiled web applications with specific regard to:
Session (preume I am using the stateserver)What happens to all the other users - will they be logged out?
Application pool recycling due to changes to some compilation??
I am not sure I have ever dynamically added a user control to a pre-compiled web applications as I have mainly been using "Websites" so I am making a large presumption that it will work because if the website is pre-compiled, does this mean the dynamically added user control will be dynamically compiled as required even though the site is pre-compiled?
EDIT
I also forgot to mention that the user controls will be outside of the application directory and so won't be published during web deploy - they will be uploaded via another website.
View 2 Replies
Apr 9, 2010
I know you are all tired of this Linq-to-Sql questions, but I'm barely starting to use it (never used an ORM before) and I've already find some "ugly" things. I'm pretty used to ASP.NET Webforms old school developing, but I want to leave that behind and learn the new stuff (I've just started to read a ASP.NET MVC book and a .NET 3.5/4.0 one). So here's is one thing I didn't like and I couldn't find a good alternative to it.
In most examples of editing a LINQ object I've seen the object is loaded (hitting the db) at first to fill the current values on the form page. Then, the user modify some fields and when the "Save" button is clicked, the object is loaded for second time and then updated. Here's a simplified example of ScottGu NerdDinner site.
//
// GET: /Dinners/Edit/5
[Authorize]
public ActionResult Edit(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
return View(new DinnerFormViewModel(dinner));
}
//
// POST: /Dinners/Edit/5
[AcceptVerbs(HttpVerbs.Post), Authorize]
public ActionResult Edit(int id, FormCollection collection) {
Dinner dinner = dinnerRepository.GetDinner(id);
UpdateModel(dinner);
dinnerRepository.Save();
return RedirectToAction("Details", new { id=dinner.DinnerID });
}
As you can see the dinner object is loaded two times for every modification. Unless I'm missing something about LINQ to SQL caching the last queried objects or something like that I don't like getting it twice when it should be retrieved only one time, modified and then comitted back to the database. So again, am I really missing something? Or is it really hitting the database twice (in the example above it won't harm, but there could be cases that getting an object or set of objects could be heavy stuff).
View 3 Replies
Dec 5, 2010
I have a site where the admin can log in to make changes to his content, but while making changes (using a specific asp.net control) with no page loads or callbacks while editing, the user is sometimes being logged out.
I want to increase the time it takes for the system to wait before logging-out inactive users.
I'm using the standard membership provider.
View 1 Replies
Oct 6, 2010
If a logged in user is inactive on the page for more than 20 minutes and thenclicks a button to cause post back they get the error below.Server Error in '/' Application.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.Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.HttpException: 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 5 Replies
Jun 22, 2010
have a website with MasterPages, on load master page has many database roundtrips and logics implemented.Now, if move to one page to another, the MasterPage get reloaded and all the above mentioned procedures processed again, which again takes a lot of time and as a result my website's response is very slow.For eaxmple, once the default page is loaded, all the child pages can load within the centent area (in ajax style).
tell me some workaround to optimize the site so that it doesn't this procedures repetitively.
View 5 Replies
Jan 13, 2011
I have couple of [WebMethods] in my code behind and using jquery ajax to get data from server. And then it happens :). After some time while page is inactive when i try to click on button which should have send request to server it simply does nothing for about half of minute and only then event is fired and i get response from server.
my javascript looks something like this:
[code]....
View 2 Replies
Jan 3, 2011
i had aspx page control for transferring the application datas to another web page. k when i click the transfer button. the Current page will be inactive. and the User only once time they can transfer the page otherwise disabled.
View 3 Replies
Sep 24, 2010
I have a CreateUserWizard that uses the membership provider and creates a user in a sql server database.I need to change the IsApproved property on creation to false.I know that it can be done by createing a custom navigation template... but then i will have to code all the checks for the creation of the user...Is there any other way to access that attribute?this is the aspx code:
[Code]....
View 2 Replies
Aug 23, 2010
It is a general ASP.NET questions. Many times some items in dropdownlist will become inactive (retired)or active again. It is easy to handle in the new records which use only currently active items. But how to handle the inactive items which need to be used to show history records. It bothered me a long time, not sure how to solve this problem efficiently.
View 7 Replies
Aug 27, 2010
I have received an error "Validation of viewstate MAC failed".
I am hosting the web site on my own server, so there is nothing like a "Web Farm or cluster". Can you advise what could be the problem with this error.
I only get this error if the page is left inactive for more then 20 minutes and it throws the exception, so users have log-off and login to continue working fine.
See below full error details.
[code]....
View 10 Replies
Oct 4, 2010
how to make background Inactive when inline popup raised.....
I have created popups using divs in my page...Now i want to Inactive my form elements when popup raised.......I am operating popups using Jquery.....
View 23 Replies
Jan 28, 2010
I've got this problem.I launched an ASP.NET website with the Umbraco CMS on an ISP.(Its just a very basic informative site. nothing special.)When I go want to visit the website however, the first pageload takes a lot of time, sometimes even up to 20 seconds. Of course this is ridiculous. Afterwards, I am able to navigate the site relatively quick.. So every first pageload is slow, then everything is OK, more or less.Does anybody have any idea what the problem could be? Would it be IIS? ASP.NET?
View 5 Replies
Nov 11, 2010
I would like to know how to display active and inactive staff members in my datagrid. I would like to be able to have a default setting of the active members with a button or hyperlink saying "display inactive members" and when you click on "display active members" it will show the inactive members with the link saying "active members". There is a column in the Staff table called is_active with 1 or 0 in it.
Here is the aspx code:
[Code]....
[Code]....
View 6 Replies
Feb 27, 2014
I have a tabcontainer with three tabpanel. The first tab is always enabled, while the other two get enabled and disabled in the code-behind depending on some conditions.I would like to customize the header style of the second and third tab such that: - If the tabs are disabled, the header (title of the tab) font color should be gray - If the tabs are disabled, the header (title of the tab) font color should be blue. Currently, I have the following in my style sheet: `a.ajax__tab_tab{ color: blue; }`but this always sets the tab title font color to blue, regardless of whether the tab is enabled or disabled. This piece of code shows the conditions to enable or disable the tabs. Can I control for style here as well?
protected void HorizonTextBox_TextChanged(object sender, EventArgs e)
{
if (HorizonTextBox.Text != "")
{
TabPanel2.Enabled = true;
TabPanel3.Enabled = true;
WholeUpdatePanel.Update();
[Code] .....
View 1 Replies
Mar 6, 2013
I have update panel on the page to avoid postback and placed a dropdownlist control within that update panel. DrodownList is filled with Category names and also it's autopostback set to True.
Now whenever dropdownlist index change's on select, untill page loads complete data it should show mesage as "Loading.... in center and middle of the page and background should become bit transparent". And when page load completely with data then that background and message should get disappear.
View 1 Replies