473,406 Members | 2,293 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,406 software developers and data experts.

Cookie problems

rsrinivasan
221 100+
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
5 974
acoder
16,027 Expert Mod 8TB
No, you can't check settings like that using JavaScript.

Your title mentions cookie problems. Show your problem code.
Oct 18 '07 #2
rsrinivasan
221 100+
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
16,027 Expert Mod 8TB
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
221 100+
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
16,027 Expert Mod 8TB
That's not a JavaScript problem. Ask in a more relevant forum.
Oct 24 '07 #6

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

Similar topics

7
by: N.K | last post by:
Hi , Python's existing cookie module doesnt supports new cookie headers SetCookie2 , How to submit a patch for that ? I tried emailing person who owns that module.But no response. Thanks,...
13
by: Manlio Perillo | last post by:
Hi. I'm using the Cookie module (on the client side). I have found a problem trying to parse the cookie: "Set-Cookie: value=thevalue; path=/; expires=Fri, 21-May-2004 10:40:51 GMT" The date...
0
by: | last post by:
I''m having a problem with cookies that is driving me insane :). - If a user comes to http://domain.com and a cookie is set for them, then the user for whatever reason jumps to http://www.domain.com...
4
by: Shannon Jacobs | last post by:
I'm doing some trivial surveys, and I want to know if the same user answers twice. Can't really know that, but at least I thought I could check for the same browser/computer combination by using a...
1
by: HorseGeek | last post by:
I have three servers: Server1, Server2, and Server3. There is a login cookie does not expire for SOME users on Server2. Ironically, the login cookie expires correctly for ALL users on the...
7
by: What-a-Tool | last post by:
How does the expire date work setting it server side with asp. I know with javascript setting it client side it will be set to the clients local time, and therefore expire when the clients local...
2
by: Alan Silver | last post by:
Hello, I have discovered that if I try and add a cookie when one by that already exists, nothing happens. No error, but the cookie is not set to the new value. For example (this is running in...
6
by: Victor | last post by:
Hi everybody, could anybody help me with the following problem : I need to set a cookie containing a Russian character string as the value, using the construct "document.cookie = ...". The...
4
by: rodmc | last post by:
Hi, I am trying to set a cookie on a client computer using the Cookie module however all I get is the text being printed in the browser window. Can anyone point me in the right direction so that...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.