Document.lastModified only valid for http requests ?

Hello,
I was putting together a simple html page with the following JavaScript/ECMAScript code snippe (TAGS removed) :
html
body
SCRIPT LANGUAGE="JavaScript"
var date;
date=document.lastModified;
today = new Date(document.lastModified);
document.write("Last Modified on 1: "date" 2: " + today);
/SCRIPT
/body
/html
which returns, when opening a local file: URL
Last Modified on 1: 2: Thu Jan 01 1970 01:00:00 GMT+0100
The ECMAScript standard stipulates that the document's lastModified value is send by the server in the http response.
So getting NULL when opening a local file: is most probably OK.
Wouldn't it make more sense for document.lastModified to take the document's UNIX last modified date though ?
Thanks for your answers.
Fred

Hi Paolo,
Yes, SAS token is for HTTP Post. This method need this token to security the channel. It is different with AMQP 1.1.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Event Hub "publisher" endpoint and token : is it only valid for HTTP REST APIs ?

    Hello,
    as explained here
    http://msdn.microsoft.com/en-us/library/azure/dn789974.aspx I can create a SAS rule to allow devices to send only to an event hub.
    Now I can use this rule and the related connection string to create an EventHubClient object who is capable to send only to the event hub. In this case I can't have fine grained control on devices ... I mean, all devices created by Azure SDK APIs with this
    SAS rule are capable only to send and If I want to block some devices, I can't ... removing the rule I'll block all devices.
    For fine grained control there is the publisher concept (as an endpoint on the event hub).
    Starting from the same SAS rule (for sending only), I can generate more tokens and give each of the to the devices. In this case, without removing the SAS rule I can block single device revoking the token.
    Now ... reading on the Event Hub documentation I can't find any API to send data using publisher concept (and using token).
    See also AMQP.Net Lite documentation (http://amqpnetlite.codeplex.com/wikipage?title=Using%20Amqp.Net%20Lite%20with%20Azure%20Server%20Bus%20Event%20Hub&referringTitle=Documentation) ...
    I can send with publisher concept but without specifying token, only SAS rule (key name and shared key).
    My understanding is that the token is useful only with HTTP REST APIs (put the toke in the Authorization header) ... is it right ?
    Thanks,
    Paolo
    Paolo Patierno

    Hi Paolo,
    Yes, SAS token is for HTTP Post. This method need this token to security the channel. It is different with AMQP 1.1.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE!

    In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE! Thank god Pages 09 is still there.

    …and the other 98 missing features.
    Just use Pages '09, which should be in your Applications/iWork folder.
    Rate/review Pages 5 in the App Store.
    Peter

  • Office 2013 - Excel 2013 - "This action is only valid for products that are currently installed."

    I had Office 2010 starter and Outlook 2010 installed.  I recently purchased the Office 2013 click to run version (paid monthly subscription) and installed Office 2013.  After installing 2013 I noticed that when I opened up Excel files they would
    still open in Office 2010.  I uninstalled Office Starter 2010 and uninstalled Outlook 2010.
    I then manually fixed the file associations for Word, PowerPoint, Publisher and such, however I could not manually fix the Excel file association. 
    Excel documents show the correct icon however when I double click on them the following error appears "This action is only valid for products that are currently installed."
    I have used the Office 2013 repair process, I have uninstalled and reinstalled Office 2013, I have manually uninstalled office 2013 using KB 2739501 (
    http://support.microsoft.com/kb/2739501/en-us ) and I still can not open Excel documents. 
    Recently I found that I can not do mail merges either using Excel documents as the data source and I believe the two items are related.
    Any suggestions?

    Hi,
    Please try to turn off compatibility mode and then check the issue again. To do this, please follow:
    1. Open this folder location:
    For Windows 32-bit: C:\Program Files\Microsoft Office\Office15
    For Windows 64-bit: C:\Program Files (x86)\Microsoft Office\Office15
    2. Find Excel.exe, right-click it, and choose Properties.
    3. Click on the Compatibility tab and ensure that all of the boxes are
    un-checked.
    For more information, please refer to this:
    http://support.microsoft.com/kb/2674519/en-us
    Thanks,
    Steve Fan
    TechNet Community Support

  • I need to change from Japan App Store to Australia App Store. I get this every time I try using My MacID: "This Apple ID is only valid for purchases in the Japanese iTunes Store. You will be switched to that Store." What next TY. JohnCahill

    I moved from Japan to Australia. I need to change from Japan App Store to the Australian App Store. I get the following message every time I try using My MacID which was set up in Japan: "This Apple ID is only valid for purchases in the Japanese iTunes Store. You will be switched to that Store." At one point... by which path I do not remember... I was instructed to created a new ID. I fill out the new ID forms, but the address is rejected each time... quite confusing. Does it want a new name? But it says I cannot use an apple domain (tag?) even though I guess it has to be an apple address... ? So I have iTunes crdit cards purchansed in Australia, can't spend in AUstralian iTunes Store, get directed back to Japan each time, and can't open a new ID... What am I doing wrong? Thank you in advance.  John. Australia.

    You must have a separate Apple ID registered in the other store along with a valid bank-issued charge card in the other country, and a legal billing address in the other country.
    Sorry... But... You cannot use other countries itunes stores.
    You must be within the Country with a Valid Billing Address and Credit Card for that Country to use the iTunes Store of that Country..
    iTunes Store Terms of Service
    http://www.apple.com/legal/itunes/us/terms.html#SERVICE

  • "This Apple ID is only valid for purchase in the US store" and I'm in the PH?

    Hi! So originally my Billing Info was set in the US and today I wanted to upgrade my MBP to OS ML. I'm in the PH now so I changed my Billing Info and set it to my address here in the Philippines, but everytime I hit that "Buy App" button in the App Store and log in, I'm always taken to my Billing Info and even though I already changed my account info, the address that's displayed there is still the US one. I tried to change the country numerous times and set it to PH, but I always get the message saying my Apple ID is only valid for purchase in the US. I'm taken to the US store afterwards, and after I hit "Buy App" the same thing happens over and over again.
    I've been trying to figure this out for over an hour now. What else can I do?

    Try contacting the App Store support folks - http://www.apple.com/support/mac/app-store/.
    I sort of understand what's going on, but not sure why you weren't able to rectify the problem. Maybe the support folks can help.
    Clinton

  • Is database link only 'valid' for instances in the same server?

    Background: We have 5 servers and installed Oracle 7.3 and 8.
    Problem: I managed to create database link to other instance in same server; but not to other server. Error message received was :
    ORA-02019: connection description for remote database not found
    : TNS server name not found
    BUT: I managed it with 'copy from ' command in SQL*plus.
    Question: Is database link only 'valid' for instances in the same server?
    Thanks! ;o)

    user10127912 wrote:
    Hi,
    We are planning to install second instance of Oracle 11gR2 in Linux server 2.6.39-400.21.1.el6uek.x86_64 x86_64. This is something we never haven done before. If you have such experience, please give us some insight.
    The existing instance has all the standard ports:
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Enterprise Manager Console HTTP Port (pterpdb02) = 1158
    Enterprise Manager Agent Port (pterpdb02) = 3938
    What ports should we select for second listener and enterprise manager? Is there anything else that we need to know before we install the second instance?If you want a second database instance, no additional installation is required - as long as you want to run the second instance at the same version as the the first. Just fire up dbca and create the second database. One installation of Oracle (one ORACLE_HOME) is capable of supporting many database instances, though the same may or may not be said of the hardware it is running on.
    As already said, one listener is enough. One listener, running from one oracle home, using the default name of LISTENER, running on the defualt port of 1521, is quite capable of -- indeed, WAS DESIGNED TO, supporte multiple database instances of multiple versions running from multiple ORACLE_HOMEs.
    One instance of dbcontrol/dbconsole will support only one database. If you do not use Grid Control (extra installation, extra license) you will need to use the emca utility or one of the options in the dbca utility to configure a seperate instance of dbcontrol for each database. Don't worry about the ports, the creation utility will take care of it and report what it does.

  • I have a Belgian Apple ID, but want to use the UK i-tunes store.  I get a dialogue box saying "The Apple ID is only valid for purchases in The Belgian iTunes store".  Is there any way around this?  Thanks, Jackie

    I have a Belgian Apple ID, but want to use the UK i-tunes store.  I get a dialogue box saying "This Apple ID is only valid for purchases in the Belgian itune store".  Is there any way around this?  Thanks, Jackie and Manuel

    When you move to Portugal (very nice, I've just come back from visiting Cascais/Sintra/Sines ) I think you'll just get re-directed to Portuguese iTunes. When I moved to France from the UK  I got re-directed to the French store.
    To view UK programmes in France I used to subscribe to a VPN server through https://www.my-private-network.co.uk/ (there are others, but very pleased with their service). The catch-up channels (iPlayer, etc) think you're in the UK so you can watch the programmes online. Wouldn't work with iTunes UK store though .

  • Why is my Apple ID only valid for the Apple store in one country (Ireland) even though I have moved to and live in the USA?

    I have moved from Ireland to the USA and now (legally) live in Seattle. When I try to login to the iTunes store here in the USA, I get a message telling me that my Apple ID is only valid for purchases from the Ireland iTunes store. What moron put in a restriction like that? Apple is now telling me that although I can legally move from one country to another and take up residence, I can not travel globally with my Apple ID? What use is having an Apple ID then as I can travel and buy globally with Amazon?

    Do NOT create another ID.  Change the country of your present ID.
    App Store Frequently Asked Questions (FAQ) - http://support.apple.com/kb/HT2001 when using iTunes --> "To change countries, scroll to the end of the iTunes Store home page and click the flag indicating the current country. To choose a different country, click the appropriate flag."
    iOS: Changing the signed-in iTunes Store account - http://support.apple.com/kb/HT1311  - Change your iTunes Store country: "Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region."
    You will, of course, need to change your address and enter valid credit card information after you have changed the settings.
    iTunes Store: Changing Account Information - http://support.apple.com/kb/HT1918
    Further tips on changing country - https://discussions.apple.com/message/20029737 - problems you encounter when changing iTunes country
    Realize, however, just as you can no longer visit your old public library in Ireland you also no longer have access to the store or your purchases made there.  You can continue to use them as they are on your computer now but that makes it all the more important you maintain backups in case of loss.  If you upgrade an app I think you will have to pay for it again since you no longer have access to the Irish Store.

  • 50.28.68.31:2087 uses an invalid security certificate. The certificate is not trusted because it is self-signed. The certificate is only valid for a id="cert_

    50.28.68.31:2087 uses an invalid security certificate.
    The certificate is not trusted because it is self-signed.
    The certificate is only valid for <a id="cert_domain_link" title="new.thelifeincomegroup.com">new.thelifeincomegroup.com</a>
    (Error code: sec_error_untrusted_issuer)

    See https://support.mozilla.org/kb/Secure+Connection+Failed

  • Code is only valid for users of store

    Help....
    Ive just gifted an app to my son as I often do and when he tries to redeem it it says "This code is only valid for customers of the Store".
    Ive looked this up and normally it will involve someone from one country trying to gift an app to someone in another country but with me this is not the case.
    My son lives in the same country, the same address everything.
    The app was called Kick the buddy: Second kick
    Can anyone please help
    Thank you

    Thanks to James, I have just had a reply saying that they do not know why this error has occured but they have refunded my purchase costs.
    Good luck to anyone who has the same problem

  • While Executing a Javascript got RuntimeException - org.mozilla.javascript.EvaluatorException: uSetContextVar: Only valid for Provisioning jobs at line

    Hello Experts,
    I am receiving an error whenever i am executing a java script file. I am calling the script in the below fashion.
    MSKEYVALUE  - $FUNCTION.DP_getMskeyValueForUser(%ABCD01%)$$
    function DP_getMskeyValueForUser(Par){
    ---- Here we have written logic---
           var result = uSelect(query);
          result = DP_generateId("CREATE");// calling another script
        return result;
    function DP_generateId(Par){
    --------------Here Code Logic ----------------------
    --------At ending setting the output value and storing it in the context variable
        uSetContextVar("new_mskeyvalue", newMskeyValue);
        return newMskeyValue;
    While executing i am getting an error message at the above highlighted part stating that got RuntimeException - org.mozilla.javascript.EvaluatorException: uSetContextVar: Only valid for Provisioning jobs at the line
    Can you kindly please help me with this error.
    Regards,
    DP

    Hi DP,
    Hope this helps.
    context var is used if you want to pass values between tasks. If you are using in a job and you want to use values between passes, then you could use a job variable. Or if you want to calculate and use the values in same pass in the job, you can use a Hashmap.
    Kind regards,
    Jai

  • ITunes 7.0.2 Error - ""This action is only valid for products..." message

    Hi,
    I see other folk are having problems upgrading to iTunes 7.0.2 but I've had a read of some recent posts and can't find a problem quite like mine...
    OK, so I decided to say yes to the "upgrade to iTunes 7.0.2?" prompt when I turned iTunes 7 on this afternoon. I followed all the prompts correctly and allowed the computer to re-start when installation was complete.
    My iTunes "i" icon has disappeared from the QuickLaunch bar, and has been replaced by a Windows application blue and white square-window icon. When I click on it to run iTunes I get an error message prompt:
    "This action is only valid for products that are currently installed."
    I click "OK" and then nothing happens, iTunes (niether 7 nor 7.0.2) does not load and there is no way to get into iTunes. Going through the menu bar results in the same error message.
    I am not sure what to do. I don't want to wipe iTunes and start again because I have quite a few purchased tracks that may be lost, and I doubt I would be able to get them back.
    Does anybody have any advice?
    Many thanks.
    (I have tried playing a QuickTime movie file and that works fine).
    QuickTime 7.1.3 seems to be working fine.

    Remove the shortcut that is in the QuickLaunch bar.
    Go to C:\Program Files\iTunes\ and make a new shortcut for iTunes.exe and put it in the QuickLaunch bar.
    That should resolve the issue.
    Hope this helps,
    Nathan C.

  • "This code is only Valid for customers of the USA Store.", "This code is only Valid for customers of the USA Store."

    I get this error message when redeeming an app from the apple "Aproved" website "Appexchanger" which is when you check out free apps and get credits to get paid apps, but i am in canada and everytime i go to redeem one i get "This code is only valid for customers of the USA Store." i think this is unfair because ive done what theve asked and theres nothing on the site that says "US ONLY" and the people who made it wont even contact me back! Please help i just want some apps!

    Just FYI, Appexchanger is not "approved" by Apple in any way that I can detect. Apple does not appear to have any connection of any sort with that company other than as a customer.
    This company looks to me to be nothing more than a way to harvest email addresses and other content information to sell to other companies, getting you onto all sorts of spam lists. I don't for one minute believe their claim that they won't sell your information (and if they don't, it's s good bet at least one if nor more of the developers will). But in any case, as Jay said, any problems or issues you may have with that company will have to be taken up with them. This is not an Apple issue.
    Regards.

  • Apple ID only valid for purchases in Turkish Store

    Folks,
    I recently decide to move USA, for starting on right food applied for a software bootcamp and accepted. Bootcamp send me some preperation material just for being ready until the course but those books send via Amazon and I need to download Kindle app for reading them and this is where my problem starts.
    App store do not let me download the Amazon Kindle app by giving the error "This Apple ID only valid for purchases in the Turkish iTunes store, so I understand the free Kindle app is not downloadable from my country then I updated my Apple contact as my course address and phone and change the Apple country inside iTunes but still getting same country related error.
    Restart my Macbook with the hope of making the address change effective but it is not being effective. So is there any way available for me to download that Kindle app.
    Thank you in advance,

    Hey,
    Yes, Apple support offered me a solution but this solution involving backing up all my iTunes purchases(they won't be available after country change) and needs a US credit card or at least a gift card for changing the country. So I decide not to change country until moving there completely. By the way all those country restrictions do not make sense for me.
    One world, one flag, one language that's what I want

Maybe you are looking for

  • While creating Billing, system is very slow..performance issue

    Hi, While creating Billing, system is very slow. How can I debugg and provide the analysis where is the exact problem. This is showing performance issue. Waiting for kind response. Best Regards, Padhy Moderator Message : Duplicate post locked. Edited

  • How to start virtual OVM Manager and restore server pool which hosts it?

    It had to happen... the day I migrate our OVM Manager from an ESX host into an Oracle VM, we have a massive NetApp outage, and everything fails to come back. As a result of having lock errors when trying to start any VMs I noted on the forum various

  • Adobe Illustrator CC crashes on Mac OS X 10.9

    It crashes when it starts, no error messages, just crash... But it works fine with root account. What's the problem?

  • Lumia 800 in south africa

    when will the lumia 800 become available in south African?

  • Question about DOFD vs DOFMD

    Equifax is reporting an old tradeline that shows the DOFD in July 2008 and DOFMD in November 2008. Equifax says it should come off in November 2015, shouldn't it be removed in July. Both TU and EX have already deleated. Thank you for your help.