How do you set up and read cookie at the JavaScript?



  • Good afternoon!
    He wondered is whether there was a way to create and read corn files without SSl certificate, i.e. HTTPS compounds? I tried to do this:

    document.cookie = "Hello=World";
    

    But the brows didn't show up. Thank you so much for your help.
    Is it possible to create a cuisine if the html file is local?



  • It's weird that you don't work because I have teams. document.cookie = "username=John Doe"; and document.cookie working normally:

    создаем куку

    получаем все куки

    Is there any restriction in the environment where you work/check? Lifetime is a doll. It should also be borne in mind that the docks use server time (may be different from customer time).




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2