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 332057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:49:55+00:00 2026-05-12T09:49:55+00:00

Whenever I login to one Google service, I am automatically logged in all their

  • 0

Whenever I login to one Google service, I am automatically logged in all their other websites on different domains.

What I want to know is how they are able to access the disparate cookies and sessions that belong on another domain.

I tried searching online but I couldn’t find any information. I could probably pull out firebug and try to find out but I am sure someone here knows.

  • 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-12T09:49:55+00:00Added an answer on May 12, 2026 at 9:49 am

    A Google Login works like this:

    1) You login, normally at a login page that is under the Google.com/accounts domain.

    1a) If you aren’t on the Google.com/accounts domain, it is going to forward you there after you post the form. This can be found on sites like Blogger.

    Once you arrive at the Google.com/accounts domain, they do two things

    2) They set a cookie(s) that is specific to the Google.com/accounts domain, that are also only able to be sent over a secure connection. This is to verify your identity later on.

    I say multiple because there are several cookies bound to the google.com/accounts domain. I believe that one of these is to make sure that all doesn’t fail if secure connections aren’t allowed

    3) They set a cookie that spans all the domains using .google.com as their domain, because this will make the cookie available to any domain.

    4) They forward you back.

    5) If it is a site on a different domain, like blogger, they send along an authorization key in the URL. The page sees it, verfies it, and sets the cookie for a different domain. A technique like this can be seen using Google’s Oauth.

    Here is where that Secure Cookie comes in.

    If you notice, whenever you go to a site after you close your browser, they forward you to the google.com/accounts path, where they reverify you under a secure connection, and then reset the subdomain-wide cookie. Then they send you back.

    Furthermore, some sites like Google Adsense use the same technique as Google.com/accounts uses, by making a secure cookie on a specific path, and then using more global cookies to allow greater access.

    Some of this is guessing, but given what a non-insider can see, I believe that is close to the truth.

    Note: I literally spent like an entire month just browsing from Google Site to Google Site seeing how they did stuff. By upvoting this post, you are decreasing the sadness I have for having no life

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

Sidebar

Related Questions

I have two websites I want to connect through one login page on the
I want my users to activate their accounts before they are able to login.
On my login form I want to display one simple error message like Sorry,
I want to allow users to use only one system to login. if they
Hey all i have two JFrames one is my main login frame, user enters
I am having a GUI of login screen. Whenever i press the login button
I'm trying to add a login form onto my free mathhelp site, but whenever
I'm trying to implement OpenId login for a web application. Whenever new user who
I'm creating a user system for Rails, and login, sign up etc... all works.
Whenever cookies are disabled in my browser and then i try to login on

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.