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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:56:52+00:00 2026-06-09T00:56:52+00:00

I have server, running some number of sites. For example: example.com a.example.com b.example.com All

  • 0

I have server, running some number of sites.
For example: example.com a.example.com b.example.com
All sites are routed via nginx to unix domain-sockets.
Each of sites is gunicorn instance.

Can applications from subdomains read/write cookie data from example.com or from other subdomains?
If yes, how to disable it?

  • 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-06-09T00:56:54+00:00Added an answer on June 9, 2026 at 12:56 am

    Sure, you can use separate cookies for the subdomain. The Cookie standards allow you to set a domain, which will be the only domain that browsers will send the cookie back to. You can set “a.example.com” as the domain, and browsers will only send cookies from that domain back to that domain.

    From my reading of RFC 2965 for cookies, “a.example.com” cannot set a cookie for “b.example.com”, only “example.com”.

    I think the bottom line is to be sure that you are are using the “domain” property of cookies to set cookies for the subdomain, and not just “example.com”, which all subdomains could read and write to.

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

Sidebar

Related Questions

I have a rails server running on URL http://example.com:1234 I want to provide the
I have a Tomcat 6.0.24 server running. I'm using to run some JSP pages.
We have some unit tests running against a SQL server 2000 database using the
I have rails application running in linode server .Some guy is continuously spamming (writing
I have a com server running as an .exe . This COM server has
I have a number of Rails 3.1 applications running on a local server, remote
Im having some problems sending mail. I have a ubuntu server running postfix as
I would like to have some long-running server applications periodically output general GC performance
I have a number of databases running on a server. I'd like to log
On my Unix web server, I have two MySQL database servers running. One 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.