I'm working on an application based on AngularJS on client side and Java for my API (Tomcat + Jersey for WS) on server side.  Some path of my API are restricted, if the user doesn't have a session the response status returned is 401. On the c...
I have 3 domains that are themed the same. If somebody chooses a different theme, I want it to propagate across all 3 domains so their experience stays the same.  I was planning to accomplish this by setting a cookie on domain1, redirect to domain2 w...
i think i misunderstood the management of cookies with xmlhttprequest. I have a server that response to the XMLHttpRequest made in javascript, my server returns Allow-Control-Access-Origin, Access-Control-Allow-Headers, Access-Control-Expose-Headers...
I am trying to play music from last end point after each page is loaded. This example not working on Safari and IE but working fine on firefox,opera and chrome. Is possible to replace this with jquery cookie plugin and how?  <audio preload="au...
My company has a setup as follows:   subdomain1.domain1.com subdomain2.domain1.com subdomain3.domain1.com subdomain4.domain1.com subdomain5.domain1.com subdomain6.domain1.com subdomain1.domain2.com subdomain2.domain2.com subdomain3.domain2.com subdom...
How should I add domain support to these functions? I want to achieve that .example.com is declared as domain, so that the cookies can be read across all subdomains of the example.com. In its current form since domain is not set, it can only be read...
How can I read/write cookies for local file:/// HTML document using Javascript or jQuery?  I tried this one >>  function setCookie(c_name, value, exdays) {   var exdate = new Date();   exdate.setDate(exdate.getDate() + exdays);   var c_value =...
Here's what I hope is a quick question...  I am trying to set a cookie that can be used sitewide. I'm creating a lead generation type site. I want users to fill out a form in order to access exclusive information. Once they fill out the form,...
I have a background page in a Chrome extension that makes requests to a server. By using Chrome's debugging tools I can see that various Set-Cookie headers are returned. However, subsequent requests do not contain these cookies - Chrome seems to...
I am having similar problem as discussed here: https://github.com/request/request-promise/issues/183  I am using [email protected] and [email protected]  And getting the same error:     TypeError: str.trim is not a function   I also played aroun...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.