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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:04:45+00:00 2026-05-13T14:04:45+00:00

Can cookies set using HTTP be read using HTTPS?

  • 0

Can cookies set using HTTP be read using HTTPS?

  • 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-13T14:04:45+00:00Added an answer on May 13, 2026 at 2:04 pm

    Cookies set with the “Secure” keyword will only be sent by the browser when connecting by a secure means (HTTPS). Apart from that there is no distinction – if “secure” is absent, the cookie may be sent over an insecure connection.

    In other words, cookies that you want to protect the contents of should use the secure keyword and you should only send them from the server to the browser when the user connects via HTTPS.

    • HTTP: Cookie with “Secure” will be returned only on HTTPS connections (pointless to do, see note below)
    • HTTPS: Cookie with “Secure” will be returned only on HTTPS connections
    • HTTP: Cookie without “Secure” will be returned on HTTP or HTTPS connections
    • HTTPS: Cookie without “Secure” will be returned on HTTP or HTTPS connections (could leak secure information)

    Reference: RFC 2109
    See 4.2.2 (page 4), 4.3.1

    Note: It is no longer possible to set “secure” cookies over insecure (e.g. HTTP) origins on Firefox and Chrome after they implemented the Strict Secure Cookies specification.

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

Sidebar

Related Questions

hello, how can i set cookies like 'last_visit' if the user have more than
How can i set the Windows Forms webbrowser control to block or allow cookies
How can i read cookie set date? In rails api I can not find
A HTTP Cookie consists of a name-value pair and can be set by the
can cookies be blocked using a page directive instead of doing it programmatic?
I'm building a mixed https/http website using PHP. When the user logs in (via
I am using the scripts from here http://www.quirksmode.org/js/cookies.html and have successfully created a cookie..
I'm using Google App Engine. How do I set either multiple cookies or a
I am using a jQuery plugin to set cookies and when I use localhost
I'm using urllib2.urlopen() : req = urllib2.Request('http://www.google.com') resp = urllib2.urlopen(req) print resp.info() print resp.info()['set-cookie']

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.