Cookie problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsrinivasan
    New Member
    • Mar 2007
    • 221

    Cookie problems

    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 **
    > "Automatica lly"

    Thanks in advance.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    No, you can't check settings like that using JavaScript.

    Your title mentions cookie problems. Show your problem code.

    Comment

    • rsrinivasan
      New Member
      • Mar 2007
      • 221

      #3
      Originally posted by acoder
      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..

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        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.

        Comment

        • rsrinivasan
          New Member
          • Mar 2007
          • 221

          #5
          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.

          Code:
          <init-param>
                  <param-name>listings</param-name>
                  <param-value>false</param-value>
          </init-param>
          And i restart my tomcat sercver. But still my browser listings all directory.

          How can i resolve it?.

          Thanks in advance..

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            That's not a JavaScript problem. Ask in a more relevant forum.

            Comment

            Working...