By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,727 Members | 1,396 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,727 IT Pros & Developers. It's quick & easy.

Cookie problems

rsrinivasan
100+
P: 221
Is it possible (using JavaScript or any other client-side means) to
determine which Internet Options/Settings a User has selected on their
brower?

For example, I need to know if they have selected:

IE6 > Internet Options > Temporary Internet Files > Settings > Check for
newer versions >...

> "Every Visit to the Page" ** OR **
> "Automatically"

Thanks in advance.
Oct 18 '07 #1
Share this Question
Share on Google+
5 Replies


acoder
Expert Mod 15k+
P: 16,027
No, you can't check settings like that using JavaScript.

Your title mentions cookie problems. Show your problem code.
Oct 18 '07 #2

rsrinivasan
100+
P: 221
No, you can't check settings like that using JavaScript.

Your title mentions cookie problems. Show your problem code.

Hi,
My cookie problem is,

when i select the URL from browser, it gets the page from cookie.

How to resolve it? Please direct me to the right way..

Thanks in advance..
Oct 23 '07 #3

acoder
Expert Mod 15k+
P: 16,027
Your browser is retrieving from the cache. To prevent this for a URL used in JavaScript, e.g. for location.href, just add some random digits or the date/time to the end of the URL. This will retrieve a fresh version of the page.
Oct 23 '07 #4

rsrinivasan
100+
P: 221
Ok thanks. I solved it in some other way.

I need another clarification..

In my deployment descriptor file "web.xml", i have coded like this.

Expand|Select|Wrap|Line Numbers
  1. <init-param>
  2.         <param-name>listings</param-name>
  3.         <param-value>false</param-value>
  4. </init-param>
And i restart my tomcat sercver. But still my browser listings all directory.

How can i resolve it?.

Thanks in advance..
Oct 23 '07 #5

acoder
Expert Mod 15k+
P: 16,027
That's not a JavaScript problem. Ask in a more relevant forum.
Oct 24 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.