Hi DCarroll,
Sorry for keep you waiting. After some further research, I've got
everything clear on this issue. Yes, as I've expected in the previous
message, this is a limitation of the IE webbrowser on the history page's
caching. As for those pages(should call them a temp view) in the history
list, the browser will cache those form element's value in the clietnside's
memory. And IE has a default limitation of such cached data (be default
arround 1m ...). However, for ASP.NET web page, when using templdata
databinding contro( a large datagrid)l , there'll output large viewstate
which is serilized in the "__VIEWSTAT" input hidden field, that cause the
cached data's size exceed the clientside IE's memory limit then the former
cached item be removed. Currently, for this problem, we have the
following two approachs:
1. For asp.net web application, try limit our webpage's size(especially the
ViewState size) so as to avoid output too match data which will consume
huge clientside caching memory.
2. For the IE, we can use the following registry value to adjust the cache
limit:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\TravelLog
the TraveILog need to be created manually. Then, add a DWORD value named
"MaxSize" under it,
set it's value to more than 1Mb( in bytes), e.g. 10mb = 0xA00000
Anyway, I think this limit is designed from a securirty perspective since
we don't want the browser's client caching consume too much of the user
machine's total memory. Not sure whether other browsers has also taked
care of such potential memory issue.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 94492275
| References: <1F5F8CAE-62B3-4B36-A994-8EBAE2E11D6B@microsoft.com>
<0cA63oAwFHA.780@TK2MSFTNGXA01.phx.gbl>
<1D83D5AC-4396-43C0-ABA4-09D465432847@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: stcheng@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Mon, 26 Sep 2005 07:04:54 GMT
| Subject: RE: Response.Redirect from within a user control affects browser
h
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingcontrols
| Message-ID: <BeObgimwFHA.768@TK2MSFTNGXA01.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingcontrols
| Lines: 412
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.buildingcontrols:4246
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Thanks for your response DCarroll,
|
| Seems really strange. I think the 815 rows on your side may also be
| environment specific so that I may unable to reproduce the problem
through
| the same value. Anyway, I'll follow the DataTable structure you described
| and performed some local test accordingly. I'll update you soon.
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure!
www.microsoft.com/security | (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
| --------------------
| | Thread-Topic: Response.Redirect from within a user control affects
| browser h
| | thread-index: AcXAUUs3ki8qarrZRbaenVm/qzYr1w==
| | X-WBNR-Posting-Host: 198.6.95.95
| | From: "=?Utf-8?B?RENhcnJvbGw=?=" <DJCRDA@community.nospam>
| | References: <1F5F8CAE-62B3-4B36-A994-8EBAE2E11D6B@microsoft.com>
| <0cA63oAwFHA.780@TK2MSFTNGXA01.phx.gbl>
| | Subject: RE: Response.Redirect from within a user control affects
browser
| h
| | Date: Fri, 23 Sep 2005 08:13:03 -0700
| | Lines: 451
| | Message-ID: <1D83D5AC-4396-43C0-ABA4-09D465432847@microsoft.com>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="Utf-8"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | Content-Class: urn:content-classes:message
| | Importance: normal
| | Priority: normal
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| | Newsgroups: microsoft.public.dotnet.framework.aspnet.buildingcontrols
| | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.dotnet.framework.aspnet.buildingcontrols:4236
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.buildingcontrols
| |
| | Steven,
| | Thanks for your quick response. I've been doing some further
testing,
| and
| | have some results and some sample code for you. The problem seems to
be
| | related to the number of row in the datagrid being displayed. I'm
| pasting
| | code at the bottom of this post, but not data. The xml doc feeding
this
| gets
| | a little large - I can post it if you like, or can you email me
directly
| and
| | I can reply with the xml doc?
| |
| | Quick review of my testing/results:
| |
| | index.aspx has a link to page2.aspx.
| | page2.aspx hosts a user control containing a datagrid loaded from xml.
| | each product in the datagrid links to page3.aspx.
| | page3.aspx contains a link back to index.aspx
| |
| | When the datagrid loads 814 rows or less:
| | index.aspx -> page2.aspx -> click any link -> page3.aspx.
| | -- Back Button is enabled
| | -- Going back 1 ( from page3.aspx ) goes back to datagrid and the
back
| | button is still enabled - and the history points to index.
| |
| | When the datagrid loads 815 rows or more:
| | index.aspx -> page2.aspx -> click any link -> page3.aspx
| | -- Back button is enabled.
| | -- Going back 1 ( from page3.aspx ) goes back to the datagrid and the
| back
| | button is no longer enabled. (History is blank - back button grey's
out
| ).
| |
| | I suppose, the next step would be to reduce the number of columns in
the
| | data set, but I have not taken this step yet. All code is pasted
below,
| | except for the xml doc. I can post the xml separately, or email - your
| | preference. Thanks for your help!
| |
| | --DCarroll
| |
| | **BEGIN CODE**
| |
| | --index.aspx--
| |
| | <%@ Page language="c#" Codebehind="index.aspx.cs"
AutoEventWireup="false"
| | Inherits="UserControlTest.index" %>
| | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
| | <HTML>
| | <HEAD>
| | <title>Index</title>
| | <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
| | <meta name="CODE_LANGUAGE" Content="C#">
| | <meta name="vs_defaultClientScript" content="JavaScript">
| | <meta name="vs_targetSchema"
| | content="
http://schemas.microsoft.com/intellisense/ie5"> | | </HEAD>
| | <body MS_POSITIONING="GridLayout">
| | <form id="Form1" method="post" runat="server">