RE: Page has Expired - using html input control (type=file)
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Fri, 26 Aug 2005 10:06:32 GMT
Hi Nathan,
Thanks for your response. Currently I haven't known any means (at least
through the webpage http header ) which can control the IE's clientside
behavior. I'll consult some other IE guys to see whether we can get any
ways to workaround this. I'll update you when I got any new info.
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: Page has Expired - using html input control (type=file)
| thread-index: AcWpTRnOvo3oPb+VSB6QOHSPOYeTjw==
| X-WBNR-Posting-Host: 209.17.159.193
| From: =?Utf-8?B?TmF0aGFu?= <nathan.ethan@xxxxxxxxxxxxx>
| References: <03E9432B-BF8B-4A36-93F1-DE26E8AE6132@xxxxxxxxxxxxx>
<COJFsb8oFHA.3472@xxxxxxxxxxxxxxxxxxxxx>
<89E58E29-E699-4CE2-8E63-CACA6C6B4116@xxxxxxxxxxxxx>
<UszjP#GpFHA.2700@xxxxxxxxxxxxxxxxxxxxx>
<7E8809AA-1F95-448D-9861-975C58059D96@xxxxxxxxxxxxx>
<TTZ04#vpFHA.944@xxxxxxxxxxxxxxxxxxxxx>
<760A6AD5-F25E-4042-99AE-788815208CBF@xxxxxxxxxxxxx>
<bNB6eQ8pFHA.1204@xxxxxxxxxxxxxxxxxxxxx>
<F5498385-9A84-443C-B3A3-1E04E8DA10FF@xxxxxxxxxxxxx>
<Kg$7uFJqFHA.1204@xxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: Page has Expired - using html input control (type=file)
| Date: Thu, 25 Aug 2005 01:15:06 -0700
| Lines: 305
| Message-ID: <721D684D-4BEE-4398-B110-2AA75B7A6BD6@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 8bit
| 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
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:120176
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| We can not use Response.Redirect because we will lose the user input on
the
| page. Any work around or fix? We need to deliver a project pretty soon!
|
| "Steven Cheng[MSFT]" wrote:
|
| > Thanks for your further followup Nathan,
| >
| > Yes, you're right, I missed the type="file" in your former message. I
did
| > got the "Page Page has Expired ..." error,also some times get "page can
not
| > display ..." message. Based on some further research , this behavior
do
| > caused by the IE browser which block the former history (post version)
| > When there're input file field on the page, and we submit a post
request,
| > the IE browser won't allow the previous view display again from cache.
| > Currently I haven't found any certain configuration in the IE browser,
for
| > an alertnative approach, we may consider use response.redirect to
locate
| > the user to
| > the same page as the error occured rather than use the history back
| > script.
| >
| > 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: Page has Expired - using html input control (type=file)
| > | thread-index: AcWoP8Lxhq4lmukHTK2jsgCG5P6scw==
| > | X-WBNR-Posting-Host: 209.17.159.193
| > | From: =?Utf-8?B?TmF0aGFu?= <nathan.ethan@xxxxxxxxxxxxx>
| > | References: <03E9432B-BF8B-4A36-93F1-DE26E8AE6132@xxxxxxxxxxxxx>
| > <COJFsb8oFHA.3472@xxxxxxxxxxxxxxxxxxxxx>
| > <89E58E29-E699-4CE2-8E63-CACA6C6B4116@xxxxxxxxxxxxx>
| > <UszjP#GpFHA.2700@xxxxxxxxxxxxxxxxxxxxx>
| > <7E8809AA-1F95-448D-9861-975C58059D96@xxxxxxxxxxxxx>
| > <TTZ04#vpFHA.944@xxxxxxxxxxxxxxxxxxxxx>
| > <760A6AD5-F25E-4042-99AE-788815208CBF@xxxxxxxxxxxxx>
| > <bNB6eQ8pFHA.1204@xxxxxxxxxxxxxxxxxxxxx>
| > | Subject: RE: Page has Expired - using html input control (type=file)
| > | Date: Tue, 23 Aug 2005 17:07:05 -0700
| > | Lines: 312
| > | Message-ID: <F5498385-9A84-443C-B3A3-1E04E8DA10FF@xxxxxxxxxxxxx>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 8bit
| > | 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
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:119846
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | In order to get the error you need to use an input tag with
type=file.
| > | Without using that control we don�t have any problem, as soon
as we add
| > that
| > | control we start getting the Page Expired error. On your sample
program
| > | please change one of the TextBox controls to the following:
| > |
| > | <input id="File1" type="file" runat="server">
| > |
| > | And try again.
| > |
| > |
| > | "Steven Cheng[MSFT]" wrote:
| > |
| > | > Hi Nathan,
| > | >
| > | > I've attached my test project in this message. You can get it
through
| > OE to
| > | > download the attached zip file.
| > | >
| > | > 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: Page has Expired - using html input control
(type=file)
| > | > | thread-index: AcWnNnmpyUVC8RK8TrGwPGPd2vVDlw==
| > | > | X-WBNR-Posting-Host: 209.17.159.193
| > | > | From: =?Utf-8?B?TmF0aGFu?= <nathan.ethan@xxxxxxxxxxxxx>
| > | > | References: <03E9432B-BF8B-4A36-93F1-DE26E8AE6132@xxxxxxxxxxxxx>
| > | > <COJFsb8oFHA.3472@xxxxxxxxxxxxxxxxxxxxx>
| > | > <89E58E29-E699-4CE2-8E63-CACA6C6B4116@xxxxxxxxxxxxx>
| > | > <UszjP#GpFHA.2700@xxxxxxxxxxxxxxxxxxxxx>
| > | > <7E8809AA-1F95-448D-9861-975C58059D96@xxxxxxxxxxxxx>
| > | > <TTZ04#vpFHA.944@xxxxxxxxxxxxxxxxxxxxx>
| > | > | Subject: RE: Page has Expired - using html input control
(type=file)
| > | > | Date: Mon, 22 Aug 2005 09:28:06 -0700
| > | > | Lines: 308
| > | > | Message-ID: <760A6AD5-F25E-4042-99AE-788815208CBF@xxxxxxxxxxxxx>
| > | > | MIME-Version: 1.0
| > | > | Content-Type: text/plain;
| > | > | charset="Utf-8"
| > | > | Content-Transfer-Encoding: 8bit
| > | > | 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
| > | > | 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:119513
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > |
| > | > | Thanks Steven,
| > | > |
| > | > | Yes, please attach the simple project and instruction, then we
can
| > test.
| > | > |
| > | > | Regards
| > | > |
| > | > | "Steven Cheng[MSFT]" wrote:
| > | > |
| > | > | > Thanks for the response Nathan,
| > | > | >
| > | > | > Yes, I did follow the squence you mentioned and I know that
click
| > | > another
| > | > | > postback button is the important thing becaue this cause the
former
| > | > record
| > | > | > in the browser's history contains posted form data. However, as
I
| > | > mentioned
| > | > | > earilier, by default there should not occur "Page expired ...."
| > | > message. If
| > | > | > you think necessary I can attached a simple project which
contains
| > a
| > | > page
| > | > | > and the global file which run without the problem on my side so
| > that
| > | > you
| > | > | > can test on your side.
| > | > | >
| > | > | > 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: Page has Expired - using html input control
| > (type=file)
| > | > | > | thread-index: AcWk46GMpp9AjOzcRoC0iZ8I7zV7nQ==
| > | > | > | X-WBNR-Posting-Host: 209.17.159.193
| > | > | > | From: =?Utf-8?B?TmF0aGFu?= <nathan.ethan@xxxxxxxxxxxxx>
| > | > | > | References:
<03E9432B-BF8B-4A36-93F1-DE26E8AE6132@xxxxxxxxxxxxx>
| > | > | > <COJFsb8oFHA.3472@xxxxxxxxxxxxxxxxxxxxx>
| > | > | > <89E58E29-E699-4CE2-8E63-CACA6C6B4116@xxxxxxxxxxxxx>
| > | > | > <UszjP#GpFHA.2700@xxxxxxxxxxxxxxxxxxxxx>
| > | > | > | Subject: RE: Page has Expired - using html input control
| > (type=file)
| > | > | > | Date: Fri, 19 Aug 2005 10:30:02 -0700
| > | > | > | Lines: 228
| > | > | > | Message-ID:
<7E8809AA-1F95-448D-9861-975C58059D96@xxxxxxxxxxxxx>
| > | > | > | MIME-Version: 1.0
| > | > | > | Content-Type: text/plain;
| > | > | > | charset="Utf-8"
| > | > | > | Content-Transfer-Encoding: 8bit
| > | > | > | 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
| > | > | > | 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:119160
| > | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > | > |
| > | > | > | Thanks Steven,
| > | > | > |
| > | > | > | We are using the default settings for the page expiration on
the
| > IIS
| > | > | > (check
| > | > | > | box cleared). In order to get the error you have to have Ã?Æ?Ã
?¢�
| > ¢â�š�¬�
| > | > > runat=serverÃ?Æ?Ã?¢Ã?¢ââ??set
| > | > | > | for the input control. You also have to first click on the
| > Button1 to
| > | > do
| > | > | > a
| > | > | > | postback and then Button2 to throw the exception (the order
of
| > | > clicking
| > | > | > the
| > | > | > | buttons is important to create the error).
| > | > | > |
| > | > | > | "Steven Cheng[MSFT]" wrote:
| > | > | > |
| > | > | > | > Thanks for your response Nathan,
| > | > | > | >
| > | > | > | > As for the behavior you mentioned, it is likely due to
| > browser's
| > | > | > history
| > | > | > | > behavior for handling post submit history. When we put
input
| > entry
| > | > | > fields
| > | > | > | > on page and hit submit , this request contains forms data
,and
| > when
| > | > we
| > | > | > hit
| > | > | > | > back button, the browser may prevent the content from
| > displaying .
| > | > | > | > However, by default this should not happen since based on
my
| > local
| > | > | > | > test(through the steps you provided) , I didn't ecounter
the
| > "page
| > | > | > | > expired..." warning message. I'm thinking whether your
| > webserver
| > | > has
| > | > | > | > configured some certain http header which cause the
behavior.
| > Have
| > | > you
| > | > | > | > checked your IIS server to see whether there are any http
| > headers
| > | > | > | > configured in the site or virtual dir setting?
| > | > | > | >
| > | > | > | > Also, you can test on some other server to see whether you
also
| > get
| > | > | > this
| > | > | > | > behavior. To test this, we can simply create a page which
has a
| > | > text
| > | > | > field
| > | > | > | > and a submit button. After submit the page through the
submit
| > | > button ,
| > | > | > hit
| > | > | > | > the "back" button on browser to see whether you can
correctly
| > get
| > | > the
| > | > | > | > previous view of the page.
| > | > | > | >
| > | > | > | > 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: Page has Expired - using html input control
| > | > (type=file)
| > | > | > | > | thread-index: AcWkJWm3DrbB0rf3RnWcVkmF7Y1jcQ==
| > | > | > | > | X-WBNR-Posting-Host: 209.17.159.193
| > | > | > | > | From: =?Utf-8?B?TmF0aGFu?= <nathan.ethan@xxxxxxxxxxxxx>
| > | > | > | > | References:
| > <03E9432B-BF8B-4A36-93F1-DE26E8AE6132@xxxxxxxxxxxxx>
| > | > | > | > <COJFsb8oFHA.3472@xxxxxxxxxxxxxxxxxxxxx>
| > | > | > | > | Subject: RE: Page has Expired - using html input control
| > | > (type=file)
| > | > | > | > | Date: Thu, 18 Aug 2005 11:48:26 -0700
| > | > | > | > | Lines: 131
| > | > | > | > | Message-ID:
| > <89E58E29-E699-4CE2-8E63-CACA6C6B4116@xxxxxxxxxxxxx>
| > | > | > | > | MIME-Version: 1.0
| > | > | > | > | Content-Type: text/plain;
| > | > | > | > | charset="Utf-8"
| > | > | > | > | Content-Transfer-Encoding: 8bit
| > | > | > | > | 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
| > | > | > | > | 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:118964
| > | > | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > | > | > |
| > | > | > | > | Yes. It used to work fine and I was able to see the page,
but
| > | > once I
| > | > | > | > added
| > | > | > | > | the html input tag to my page I start getting the Page
has
| > | > Expired
| > | > | > | > message.
| > | > | > | > |
| > | > | > | > | We donÃ?Æ?Ã?â??Ã?â??Ã?¢Ã?Æ?Ã?¢Ã?¢ââ??¬Ã?¡Ã?â??Ã?¬Ã?
Æ?Ã?¢Ã?¢ââ??¬Ã?¾Ã?â??Ã?¢t have any
| > expiration set for the client
| > | > side pages. I
| > | > | > tested my
|
.
- Follow-Ups:
- References:
- Page has Expired - using html input control (type=file)
- From: Nathan
- RE: Page has Expired - using html input control (type=file)
- From: Steven Cheng[MSFT]
- RE: Page has Expired - using html input control (type=file)
- From: Nathan
- RE: Page has Expired - using html input control (type=file)
- From: Steven Cheng[MSFT]
- RE: Page has Expired - using html input control (type=file)
- From: Nathan
- RE: Page has Expired - using html input control (type=file)
- From: Steven Cheng[MSFT]
- RE: Page has Expired - using html input control (type=file)
- From: Nathan
- RE: Page has Expired - using html input control (type=file)
- From: Steven Cheng[MSFT]
- RE: Page has Expired - using html input control (type=file)
- From: Nathan
- RE: Page has Expired - using html input control (type=file)
- From: Steven Cheng[MSFT]
- RE: Page has Expired - using html input control (type=file)
- From: Nathan
- Page has Expired - using html input control (type=file)
- Prev by Date: Problem Moving to Top of Page When Submit Fails Due to Validation
- Next by Date: Convert values into Images.
- Previous by thread: RE: Page has Expired - using html input control (type=file)
- Next by thread: RE: Page has Expired - using html input control (type=file)
- Index(es):