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

  • SEARCH
  • Home
  • 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 3344806
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:06:43+00:00 2026-05-18T01:06:43+00:00

I have 2 pages, a static html page and a python script – hosted

  • 0

I have 2 pages, a static html page and a python script – hosted on [local] google app engine.

/html/hello.html
define as login: required

/broadcast
which is a python script

when I access hello.html for the first time I am redirected to login page, I sign in, and then redirected back to hello.html.

inside hello.html – an AJAX call with jQuery is executed to load data from ‘/broadcast’, this call errors saying ‘you’re not logged in’!
BUT – the same call to ‘/broadcast’ through the browser address field succeeds as if I AM signed in!

as if the ajax and the browser callers have different cookies!??

HELP, am I going bananas?

  • 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-18T01:06:43+00:00Added an answer on May 18, 2026 at 1:06 am

    Stupid me…

    The ajax call was to localhost/broadcast
    and the browser address field was 127.0.0.1/broadcast

    …
    the cookies for “different” domains (‘127.0.0.1’ != ‘localhost’) are not shared ofcourse…

    Then I haven’t gone mad…

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

Sidebar

Related Questions

I'm having trouble getting static .html pages loaded for my Python app. When I
I have a website with a lot of static HTML pages. There are also
I have a static HTML page complete with client-side scripts and css (both are
I have a page where I would like it to remain static after refresh
I have some pages on my site that are plain HTML pages, but I
I have two html pages, when you click on something on the first html,
I am learning Python and building my first web app. I have been going
I have one server located at example.com running apache, serving my static html files.
I have a music player swf embedded on an html page. Is there any
I have client that built a website that is part static html and part

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.