Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7610861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:31:17+00:00 2026-05-31T01:31:17+00:00

I am sending a http request and a cookie is send back. I can

  • 0

I am sending a http request and a cookie is send back. I can see the cookie name and it’s value in Reources/Cookies/127.0.0.1/

Here is the problem: When I try to get the cookie on the web console by using document.cookie , there is no cookie and the result is empty ""

Here is my http request by the use of Ext js.

new Ext.Application({
launch : function() {

    Ext.util.JSONP.request({
        url : 'host',
        params : {
            method : 'GET',
            username : 'userName',
            password : 'password',
            press : 'Login'
        }
    });     
}
});

I noticed that I can get the cookie on concole by document.cookie when I normally log-in on the website, but when I send the http request by this code, I can not get it on concole.

I appreciate if you provide me the solution of the problem as well as some explanation why/when this happens ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:31:18+00:00Added an answer on May 31, 2026 at 1:31 am

    Does your script execute at the domain you are setting cookie for? Executing document.cookie in console returns cookie for the domain it is executed at.

    If you are sending a request for the qalixa.com domain, the cookie is set for that domain, not 127.0.0.1.

    If you are debugging a site at your localhost, you should send a request to “https://127.0.0.1/ce/dynamic/ce/auth.html” then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got some sample code from the net here: http://www.javadb.com/sending-a-post-request-with-parameters-from-a-java-class That works fine. It
I'm sending an HTTP POST request to a URL. It sends back a piece
How can I verify that the server sending a HTTP request is who I
I'm having trouble sending out a simple HTTP request using Actionscript 3's Socket() object.
I am sending password text to the http service request object.like <request><password>pass.text</password></request> now this
I'm sending an http request to a server that requests an image but using
how to set the http headers when sending http request to a server so
I am using jQuery for sending HTTP request. Below is the code. I want
I have multiple network interface(Like WIFI,LAN,LTE dougle).I am sending http request using apache httpclient
I'm creating a Java socket in Javascript, sending an HTTP request and receiving a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.