473,394 Members | 1,703 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,394 software developers and data experts.

Same page displayed when content changes

Hi!

I have the following problem.

From my main page, when someone clicks a button, it uses client side
javascript to open another .aspx page. This page displays content, based on
what the first page is set to show. If you change the first page, and click
the button again, the newly opened page will show other things. Nothing
special. It also works fine, except ...

.... except on one machine. I don't know if it counts, this one uses NT 4.0
with IE 6.0, while most of the other test machines use either Windows XP or
Windows 2000 Professional. On this NT4 machine, when you click the button,
the new page opens, however, it displayes the same page, that was shown
before (if it was shown before, else it's of course new content). If I press
F5, the page is refreshed, and the new content is shown. It's as if IE would
not recognize, that the contents of the page has changed.

Neither the first, nor the second page uses caching, because their content
changes to much, it would be pointless to apply caching. I checked the pages
also manually, so they don't accidently set anything, but they don't. So I
cannot know, why that NT4 machine displays the same page, as if the content
didn't change (and why all other machines work well).

The same machine had previously a problem with images (generated by .aspx
pages...). Then, the solution was that I added a GET parameter to the page
name, which changes always, in other ways it's useless. But when this
parameter changes, IE would reload it, because the URL is different.
Probably applying the same technique to this open page situation, adding a
GET parameter to the page, would solve the problem in this case, but I think
it would stick it's head up again and again in similar situations, so there
should be another way to solve it.

I also checked Internet Explorer options, and the 'Check for newer versions
of the page' option is set to automatic (which is the same as on the other
machines). So it should work, but it doesn't.

Could anyone suggest, what might be the problem on that particular machine,
because for me it seems like the problem is there. Is there something I can
do in the web application to solve the situation?

Thanks

-Lenard
Nov 18 '05 #1
1 2252
I set tracing in the application. I also enabled IIS logging of many details
into a log file, and started testing the NT box.

As it turned out, if I set "every visit to the page" option, it works fine.
As it should.

When it's on automatic, then when it shows the same page (where the address
is the same, but the contents has changed, of course, as described in my
initial post), it doesnt make a request to the server. There is no entry in
trace log, and no entry in the web server log for IIS. I tested from another
machine (with XP), there, when I request the page again, I see in the log
the request. If the page hasn't changed, the IIS log shows a 304 HTTP
response, which I think is the response for not modified. But the NT box
makes no request. Non at all.

I simply have no idea how I could solve this situation, as if the client
browser doesn't connect, I don't have a chance of making any effect on it.
It just seems to me, that this particular NT4+IE6 decides if it wants a page
purely on the URL, not asking the web server if the content has changed.

The things works like this if the page is fetched from my development
machines's webserver or from a "real" webserver.

Lenard
"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote
in message news:A1**********************************@microsof t.com...
Try setting to "every visit to the page" instead of "automatic". Not sure it will solve the problem, but it is worth a shot. I would consider debugging on the NT box and see what is going on. If this is not possible, consider adding trace statements to the page(s) and examine trace.axd after you hit the page with the NT box.

You may find that the NT box is not sending or receiving the correct
information. Without seeing code, this is my best suggestion.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Lenard Gunda" wrote:
Hi!

I have the following problem.

From my main page, when someone clicks a button, it uses client side
javascript to open another .aspx page. This page displays content, based on what the first page is set to show. If you change the first page, and click the button again, the newly opened page will show other things. Nothing
special. It also works fine, except ...

.... except on one machine. I don't know if it counts, this one uses NT 4.0 with IE 6.0, while most of the other test machines use either Windows XP or Windows 2000 Professional. On this NT4 machine, when you click the button, the new page opens, however, it displayes the same page, that was shown
before (if it was shown before, else it's of course new content). If I press F5, the page is refreshed, and the new content is shown. It's as if IE would not recognize, that the contents of the page has changed.

Neither the first, nor the second page uses caching, because their content changes to much, it would be pointless to apply caching. I checked the pages also manually, so they don't accidently set anything, but they don't. So I cannot know, why that NT4 machine displays the same page, as if the content didn't change (and why all other machines work well).

The same machine had previously a problem with images (generated by ..aspx pages...). Then, the solution was that I added a GET parameter to the page name, which changes always, in other ways it's useless. But when this
parameter changes, IE would reload it, because the URL is different.
Probably applying the same technique to this open page situation, adding a GET parameter to the page, would solve the problem in this case, but I think it would stick it's head up again and again in similar situations, so there should be another way to solve it.

I also checked Internet Explorer options, and the 'Check for newer versions of the page' option is set to automatic (which is the same as on the other machines). So it should work, but it doesn't.

Could anyone suggest, what might be the problem on that particular machine, because for me it seems like the problem is there. Is there something I can do in the web application to solve the situation?

Thanks

-Lenard

Nov 18 '05 #2

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

Similar topics

0
by: Arne Schirmacher | last post by:
I want to display a MySQL database field that can contain HTML markup. If I use <esql:get-string> then I get all of the database field, but all tags are escaped which is not what I want. If I use...
2
by: Kim Therkelsen | last post by:
Hi! By pressing a button I am directed from one page to another. At the second page some things displayed on the first page are changed and now I want to go back to the first page again. The...
6
by: bissatch | last post by:
Hi, I have been tryin to run free dhtml code from a web page. The web page is: http://dynamicdrive.com/dynamicindex14/pixelate.htm When I load the page above it opens as normal and the...
2
by: Tim Reynolds | last post by:
Team, When my web service throws an exception and I am debugging on my PC - I get the exception back in my browser fine. My web.config shows <customErrors mode="Off"/> and this is working well. ...
1
by: clintonG | last post by:
I'm having a problem maintaining state with a Panel control in a MasterPage and I need help thinking through this process. The basic structure of the HTML in the Master looks like this... ...
7
by: Craig | last post by:
Hi I am trying to debug a problem with some ASP pages when accessed via IIS on Windows 2003 Server SP1. In summary, the pages are structured as follows: Root page Page loaded via IMG SRC ...
2
by: cmt | last post by:
Greetings! I have an asp page that writes out a URL that points to files on a network drive. It has been working fine up until a week ago. I haven't made any changes to the server or code, so...
5
by: jehugaleahsa | last post by:
Hello: What is the point of using a DataTable in ASP .NET? We are unsure how you can use them without 1) rebuilding them every postback, or 2) taking up precious memory. We are not sure how to...
5
by: Murray | last post by:
Forgive me if this question is too basic, but I'm new to ASP.NET programming, and I can't locate a simple answer to this question. I have a web page that consists of a Master Page and a single...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.