Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / February 2004

Tip: Looking for answers? Try searching our database.

GIF file is not refreshed on every visit to the page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rahool - 20 Feb 2004 13:56 GMT
H
  I am using ASP.NET page (IIS6.0 on Windows 2003 Server) to display a Pie Chart (Pie.gif) which is created based on criteria input by user(Like Country selection). problem is that Pie is generated according to criteria set but it is not refreshed on page, only the first time generated Pie chart is displayed. I can see the new gif file created in specified folder which is according to new criteria. This problem i sorted using selecting 'Every Visit to the Page' option in Settings of Temporary Internet Files which is byDefault 'Automatically' in IE 6.0 . But for this ,all the users have to be informed to set their browser settings. Is there any other way so that I can push newly created GIF to be displayed on User's browser?
Thanks in advance
Thomas Johansen - 22 Feb 2004 14:53 GMT
Hi Rahool,

I suggest you add the following meta tags to between your <head> and </head>
tags - these will force browsers to reload the entire page from the
server...

<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">

I hope this helps.

Regards,

Thomas Johansen

> Hi
>    I am using ASP.NET page (IIS6.0 on Windows 2003 Server) to display a Pie Chart (Pie.gif) which is created based on criteria input by user(Like
Country selection). problem is that Pie is generated according to criteria
set but it is not refreshed on page, only the first time generated Pie chart
is displayed. I can see the new gif file created in specified folder which
is according to new criteria. This problem i sorted using selecting 'Every
Visit to the Page' option in Settings of Temporary Internet Files which is
byDefault 'Automatically' in IE 6.0 . But for this ,all the users have to be
informed to set their browser settings. Is there any other way so that I can
push newly created GIF to be displayed on User's browser?
> Thanks in advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.