The first situation is where we have a standard Top + Left + Content
framset; the left frame contains a menu which shows standard options - when
the user logs in, extra menu options are available to them, depending on
their priveleges. The menu is generated from a DB in ASP, and when the user
logs in, Javascript is used to reload the page in the left frame - eg.
re-generate menu based on logged-in user.
This used to work on all servers, but at some point in time I found that
people were logging in but were stuck with the standard menu. If we
right-clicked in the menu and chose refresh, often the correct (eg expanded)
menu would be shown.
I'm not sure where the problem is IIS or could be controlled in ASP...
The second problem is on my development machine; when I browse to my
development copy of the intranet, I dont get the icons for each menu item.
However, when I browse to the live Intranet system, the correct graphics are
shown.
Screenshots:
My machine - http://www.brightnorth.com/news/menu1.gif
Normal site - http://www.brightnorth.com/news/menu2.gif
I'm assuming that this one is purely an IIS problem. Any thoughts?
--
http://www.aspfaq.com/
(Reverse address to reply.)
"CJM" <cjmn...@newsgroups.nospam> wrote in message
news:Oscx73QW...@TK2MSFTNGP12.phx.gbl...
I've used frames many times, they can seem like a good idea at the time, but sooner or later they can become a bit of a pain, difficult to maintain and odd performance in certain browsers etc. Sometimes it's eaiser to generate all content on a single pages espiceally when it comes to problems with cacheing mentioned. But if u really wanna use these you could have a different frameset for public/private users rather than trying to update a single frameset accordingly!
To ensure that IIS serves the latest version of the page each time it might be useful to add header info to ur ASP pages (if ur not already doing so), ie:
Response.Addheader "cache-control", "private"
Response.Addheader "pragma", "no-cache"
Response.ExpiresAbsolute = #January 1, 1990 00:00:01#
Response.Expires=-1
There seems to be so much goin on there to be sure where ur caching problems lie, client script (if any), the frameset, the ASP's or IIS/Web Site Configuration - u need to do a bit of digging!!
Good luck!
Stephen
.
Thanks. I'd actually already discovered this info while waiting (on Aaron's
site of course!)
Clearly this stops the ASP menu caching problem but not the menu icons....
Any ideas about these?
Chris
How often are you changing the menu icons, really? If you change the
graphics, change the name too. Then the browser won't look at the old
images still in the cache.
A
It's not like it's picking up old graphics... it's presumably picking up the
right graphics but not showing them... that is, the images appear to take up
space, but just arent visible...!
The images are each surrounded by an anchor, since they are also used within
the javascript menu top expand each menu group - this functionality still
works...
it's puzzling!
Chris
? So why do you think this is a caching issue?
A
I wonder if simply cleaning up Internet temporary files in IE can
help. Also checking those imges' IIS log records on your development
machine should be helpful to further narrow down. I assume there are
3 possibilities:
1) There are no records of those images. Means somehow the image
requests are actually not send by IE and recieved by IIS.
2) The image records' return code is 304 - Not Modified. Means IE
loads the images from its internet temp folder other than IIS.
3) The image records' return code is 200 - Ok. Means just as your
assumed, the images are actually delivered by IIS but IE doesn't
dispaly them correctly.
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security
Just want to check if the issue has been resolved. If it still
persists, please don't hesitate to let me know. I'll continue to
assist you on the troubleshooting. Thanks.
Yes this issue is still live. I've been talking to Luke [MSFT] on the
asp.general group...
Chris
""WenJun Zhang[msft]"" <v-wz...@online.microsoft.com> wrote in message
news:oUffeJLX...@cpmsftngxa10.phx.gbl...
Apologies and thanks for your help.