Duplicated POST to XML from Safari browser

In Safari 3.1.1 for Windows POST to XML is duplicated by browser. Seemingly this happens due to some server's response.
(POST from other browsers is not duplicated, and in Safari browser POST from a page that is built on server tags is not duplicated).
The POST is sent asynchronously by Javascript XMLHttpRequest object.
Please refer to the code below, I'm new here, if there's a better way to add attachments please let me know...
<html>
<head>
<script type="text/javascript">
function SendPost()
XHR.open("POST", "/wcd", true);
//XHR.open("POST", "/MIBs/UserAccountsMIB.htm", true);
XHR.setRequestHeader('Content-Type', 'text/xml');
XHR.onreadystatechange = onStateChange;
var postParams = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
postParams += "<DeviceConfiguration><TimeRangePeriodicList action=\"set\"><TimeRangePeriodicEntry>";
postParams += "<timeRangeName>a</timeRangeName>";
postParams += "<periodicWeekList>0000010</periodicWeekList>";
postParams += "<PeriodicStart><minute>00</minute><hour>00</hour></PeriodicStart>";
postParams += "<PeriodicEnd><minute>00</minute><hour>01</hour></PeriodicEnd>";
postParams += "</TimeRangePeriodicEntry></TimeRangePeriodicList></DeviceConfiguration>";
/*var postParams = "rlAAALocalUserName$add=user&rlAAALocalUserPrivilage$add=15&rlAAALocalUserPassw ord$add=%24&rlAAALocalHostStatus$add=4";*/
XHR.send(postParams);
function onStateChange()
if (XHR.readyState == 4 && XHR.status == 200)
alert("XML posted");
</script>
</head>
<body>
<button onclick="SendPost()">Create Time Based ACL</button>
<script>
var XHR = new XMLHttpRequest();
</script>
</body>
</html>

Clyde77 wrote:
there is no default just open up google and use it
Peace, Clyde
Acatually, Clyde, that isn't true. Safari is the default browser. If you click a hyperlink - in an email message for example - it will open in Safari even if other browsers are installed.

Similar Messages

  • Is it possible to run a website built in Java and applet from Safari browser in iPad

    Is it possible to run a website built in Java and applet from Safari browser in iPad?

    Java isn't supported on the iPad

  • How can I watch video from Safari browser on my iPad (1)on my TV?

    How do I watch video from Safari browser on my iPad on my TV?  I have tried an component AV cable, and Apple TV, but no video plays, just sound.  I am trying to watch ESPN3 from my iPad (first generation) on the DTV.

    No.

  • Exception when opening from Safari Browser

    I have a web application developed in ASP.Net 2.0. In one of the page, I have a functionality in which i have a PDF on left hand side of web page and on right hand side I have a quiz.
    The issue is whenever i am trying to save the quiz using MAC machine with SAFARI Browser I am getting exception.
    Exception message: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
    This working fine in Internet explorer in Windows OS or Mozilla Firefox in MAC machine.

    Hi,
    How did you upgrade JDeveloper? You should install new releases of JDeveloper into a new, empty directory, not over the top of any existing installation. I'm not sure if this is the cause of your problem, but we've seen many other issues in the past due to this.
    Thanks,
    Brian
    JDev Team

  • Emailing numbers files from safari browser

    When sign on to my mac account from Safari, I can't attach numbers files for emailing. Do you think it is due to the extension (more than 3 characters)? Any solutions? I think I can email a numbers file using the mac mail client but I am not always at a computer that I can use the client.

    Even when using OSX's Mail program you should always zip up your numbers files. just because if it is large, Zipping can reduce your file size significantly. I prefer to use DMG files if I am sending something over 500k to a Mac user. this enables them to have only one file that they download, when they double click on it, it mounts the DMG and they can open the file straight from there.
    If they want to keep it, they can save it or drag it to where they want. If not its only a DMG file, not another folder created by the unzipping process. Zips make you have two files to delete later, one zip and one file/folder. I am always going behind myself cleaning up extra Zip files.
    Just my 2 cents...
    Jason

  • How to display URL on PDF copied from web page;Does from Safari browser/Not Firefox

    When I make a PDF document from a web page when in Safari, it automatically puts the URL in with the document but not when I'm using Firefox.

    What is the format of that online document - is it an image, or is it perhaps already a PDF document?  If so, you can right-click on it and save it to your local disk.

  • How can I remove Interpol ransom virus from Safari browser?

    I Have tried Internet suggestions, reset safari is faded out so cannot use and clicked leaving page 150 times! Any other options?

    Quit or force quit Safari, then restart Safari while holding the Shift key.

  • Error while posting XML from a scheduled transaction to another transaction

    When I try posting an XML from one transaction to another in a different project by calling it as a webservice, it doen't hit the other transaction.
    I see this in the Netweaver error logs:
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:111)
    at java.util.zip.ZipFile.<init>(ZipFile.java:127)  [see details]
    XML AssignXml Parse Error
    [EXCEPTION]
    org.xml.sax.SAXParseException: Premature end of file.... [see details]
    AND
    [Fatal Error] :-1:-1: Premature end of file.
    More interestingly it happens ONLY when I schedule the parent transaction, when I trigger it manual everything works fine.
    Any help appreciated.

    Hi Srinivas,
    I see that this post was marked as answered. Could you please elaborate on how this problem was fixed?
    I am experiencing a similar issue:
    I am trying to get the Active Portal application running in MII 12.1.7 (also 12.1.8) and all went well up to the point where the ActivePortalMonitor transaction is scheduled. In the logs I also receive the  org.xml.sax.SAXParseException.
    The culprit is the XMLQuery block in that txn. Just like with your situation, when ran from workbench it works; when scheduled it doesn't.
    I tried replacing the XMLQuery with other blocks that get the same result, i.e. XMLLoader or HTTPLoader + StringToXMLParser; and in all cases the XML fetching element bombs out.
    I also built a simple txn that does an XMLQuery on another txn and then dumps the output in a file. Same thing: when run from workbench it runs fine; from scheduler it gives "SAX" error
    I would post the specific error log, but it is always varying, here is one example:
    [ERROR] [Untitled_0]org.xml.sax.SAXParseException: Open quote is expected for attribute "DIR" associated with an element type "HTML".
    Any help/hints are much appreciated
    Kind Regards,
    Fanie

  • Windows authentication fails from Mac browser when LB is in between

    (1)     A new instance of Windows server 2008 R2 is taken and IIS server is installed.
    On IIS server, ‘Windows Authentication’ is enabled and all the other authentication (anonymous, basic) is disabled.
    (2)     From Safari browser on Mac, a IIS resource (protected by Windows Authentication) is accessed by directly accessing IIS server. The resource access is successful.
    (3)     Now a Load Balancer is configured in front of IIS server.
    (4)     From Safari browser on Mac, a IIS resource (protected by Windows Authentication) is accessed by accessing load balancer. Here IIS server prompts for username and password.
    Seems that authentication negotiation is failing between Mac browser and IIS when LB is in between. Can somebody pls know the reason / resolution for this issue ?
    Thanks

    I was just helping someone with this same issue, and found this post searching for answers. I think it's a problem with your web hosting provider. It looks like whois is saying you both use readyhosting.net, is that right?
    If you go into the developer options and override the User Agent string, you can make the issue start and stop. When the user agent string starts with "Mozilla/5.0 (Windows NT 6.1", then the page with show the error message. If it starts with anything else, then it works fine.
    This, and the fact that you did not make any changes to your site makes it sound like your hosting provider changed something. You probably need to have them fix it somehow.

  • XSQL File - Dynamic query from standard Browser - XML response.

    Hi, this is my first post !
    I need to query an Oracle DB from the web browser and get the data in XML format.
    I've made some progress but they're still not enough.
    I wrote a FIXED query from JDeveloper XSQL File (here is my big lack of knowledge) and then I compiled it, and run it. Doing so, a tcp service listening to specific port was created. (I also have a program called lsnrctl running at server side). For example:
    http://IP:PORT/Application1-test1-context-root/query.xsql
    Ok, pointing that address from explorer, I happily have the result of my FIXED query in XML format:
    <?xml version="1.0" encoding="windows-1252"?>
    <ROWSET>
    <ROW NUM = '1'>
    <field_1>value_1</field_1>
    <field_2>value_2</field_2>
    <field_3>value_3</field_3>
    <field_4>value_4</field_4>
    </ROW>
    <ROW NUM = '2'>
    <field_1>value_A</field_1>
    <field_2>value_B</field_2>
    <field_3>value_C</field_3>
    <field_4>value_D</field_4>
    </ROW>
    </ROWSET>
    BUT I need to pass the query as a DYNAMIC parameter. Something like:
    http:IP:PORT/...?SQL="SELECT * FROM MY_TABLE WHERE my_condition ORDER BY my_column" from the browser.
    Please, I will appreciate any suggestion, to put me in the right way!!
    I am struggling to find out the solution since last two weeks!
    Thank you in advance !
    JM

    Ok,what I needed was this xsql file:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns:xsql="urn:oracle-xsql" connection="jdbc/user_xsql_1DS">
    <xsql:query max-rows="-1" null-indicator="no" tag-case="lower">
    {@sql}
    </xsql:query>
    </page>
    So, from the web browser i can pass ?sql=MY_GENERIC_QUERY. And it works just as I expect.
    BUT. I tried this running Embedded OC4J Server (from the IDE). The last step I need is to achive the same result but from a generic web server like Apache.
    If I copy the .xsql file to ../htdocs/ the root apache directory for documents, and I ask for http://localhost/query.xsql what I get is the QUERY but not the RESPONSE. I don't get the values from the selected table, what I get again is:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns:xsql="urn:oracle-xsql" connection="jdbc/user_xsql_1DS">
    <xsql:query max-rows="-1" null-indicator="no" tag-case="lower">
    {@sql}
    </xsql:query>
    </page>
    Can anybody guide me to configure Apache in order to get the resulting XML, not my query!!
    Thank you in advance!
    Juan Manuel

  • Help, my Safari browser has been acting super strange.  It keeps changing my default browser from Google to Only Search, and my search bar will only search on Yahoo no matter what I do.  On top of that I get MacKeeper popups every time I click a link

    Help, my Safari browser has been acting super strange lately!  It keeps changing my default browser automatically from Google to Only Search (if you use the search engine Only Search it takes you to Yahoo.com).  My search bar will only search on Yahoo no matter what I do to make it Google.  On top of that I get MacKeeper popups every time I click on a link.  What is worn with my computer and how do I fix it?!

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for a file with a name of the form
              com.something.daemon.plist
    Here something is a variable word, which can be different in each case. It could be "cloud," "dot," "highway," "submarine," "trusteddownloads," or pretty much anything else.
    There may also be a file named
               com.something.helper.plist
    in the same folder.
    If you find files with names that fit the above description, post what you have for "something."

  • My safari browser seems to have been taken over by a malicious program called only-search.  Does any one know how to uninstall this program from safari?  I am running osX 10.10.

    My safari browser seems to have been taken over by a malicious program called only-search.  Does any one know how to uninstall this program from safari?  I am running osX 10.10.

    There is no need to download anything to solve this problem.
    You may have installed the "VSearch" trojan. Remove it as follows.
    Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • How to make Safari browser always open a new web page in a new Safari browser window which was clicked from a PDF document URL

    Hi
    I have a web application which would enable users to see a list of PDF document on the web page and when the user select the PDF document, it will be open by a adobe PDF view
    Within the content of the PDF document, it will contact URL links to some other portal web pages which we would like these other web pages to be open in a new browser window, but our testing shows that the new web pages may not always open in a new browser window.
    Could you help to advise how I can enforce that new web pages that are clicked from the PDF document can always be open in a new Safari browser window ?
    Thanks in advance.
    Regards
    Sen Lee 

    Hello,
    In order to change the default reader for PDF files (to not open PDF files with Firefox's internal PDF reader), follow these steps:
    #Go to ''Tools'' > ''Options'' (or ''Firefox'' > ''Options'').
    #In the Options window, select the ''Applications'' tab.
    #In the ''Search'' field, type ''PDF''. You should find ''Portable Document Format (PDF)''.
    #On the right handside you should find an ''Action'' column. Use that to select your favorite PDF reader. In order to view PDF files in Firefox, choose ''Preview in Firefox''.
    Did this fix your problems? Please report back to us!
    Thank you.

  • HT4437 I have windows seven on my computer and use Safari 5 as my browser.  I also have the latest version of apple tv...is there a way to have videos from my browsing go to apple tv?

    I have windows seven on my computer and use Safari 5 as my browser.  I also have the latest version of apple tv...is there a way to have videos from my browsing go to apple tv?

    Airparrot is your only option in my opinion. I have not tried it myself yet but here is a link to their website. They offer a trial so check it out.
    http://airparrot.com/

Maybe you are looking for