File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes catch -[killing my brain cells]- Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "catch -[killing my brain cells]-" Watch "catch -[killing my brain cells]-" New topic
Author

catch -[killing my brain cells]-

Amit Patel
Ranch Hand

Joined: Nov 01, 2002
Posts: 31
Hi,
On all my pages I got this dynemic css file. It mean that user can select the color scheme that they wants on there account.
My problem is when you have one scheme and you click on any other scheme to change. After changing the css file name it redirects user to main page. AT THIS stage it should take the value on NEW css file from database and display color according to this new css file. BUT the old page was in catch and that's why IE as ususal trying to be smart and loads the old page from catch.
All I want is to have some code on top of each page that force browser to refresh page or stops it to remember my page in catch so when it load again it display the right colors.
If you wants to know what I am talking about then login to www.acaptel.com and try to change the color scheme. After change it will still be the same color scheme but then logout and login again and you will see chages.
Hope i have made it clear. I am really F*** with this so plaese help me guys.
Cheers, +++-[KMR!A]-+++


www.acpatel.com/risc/demo [Please don't click on any link, this is just for display]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
this is what you would have to do.
http://www10.brinkster.com/A1ien51/Scripts/nocachescript.htm
or
http://www10.brinkster.com/A1ien51/Scripts/nocachelinks.htm
Eric
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
You could also do this with META tags, like:
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Garann Rose Means:
You could also do this with META tags, like:

META tags DO NOT WORK!! Most browsers overlook them. IE 5 does not even respnd to them. If the browser is set up a certain way it ignores them. The best way is in my links.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: catch -[killing my brain cells]-
 
Similar Threads
css,images,fonts gets dissappeared after submitting the form.
Strange problem in Html page
Logoff problem
session keeps timing out
Very strange behaviour with form based login and css file