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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:43:14+00:00 2026-06-12T04:43:14+00:00

Possible Duplicate: Is it possible to know if browser has cookies enabled on the

  • 0

Possible Duplicate:
Is it possible to know if browser has cookies enabled on the very first access

I am using HttpOnly cookies which are not accessible using javascript on the client side.
I wish to find out if the browser supports cookies in the first request only.
Is it possible to get this information from http request?

  • 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-12T04:43:16+00:00Added an answer on June 12, 2026 at 4:43 am

    If you want to decide from the server side with one request whether the actual client supports HTTP cookie saving or not, then the answer is unfortunately no, you cannot.

    Although you can send the HTTP cookie in the first request and check in the second that cookie has been saved or not. But be aware of that this will not guarantee that the expiry setting of the cookie has been accepted or not.

    So for example you want to store an HTTP cookie for a year, but the client accepts only session cookies. In this case in the second request you’ll see your cookie, but if the user closes his browser there will be no cookie in the next requests.

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

Sidebar

Related Questions

Possible Duplicate: Browser can't access CSS and images when calling a Servlet which forwards
Possible Duplicate: Close mysql connection (PHP) Please help me, I not know where add
Possible Duplicate: Browser Independence issue Code Working for IE but not for Firefox and
Possible Duplicate: Should we support IE6 anymore? ripie6.com I would like to know which
Possible Duplicate: String vs StringBuilder i know .NET Strings are immutable which is the
Possible Duplicate: Is there a way to detect if a browser window is not
Possible Duplicate: How to keep the browser history in sync when using Ajax? I
Possible Duplicate: Anyone know a simple way using java calendar to subtract X days
Possible Duplicate: PHP Storing Current Session IDs in Database using Cookies I want to
Possible Duplicate: Upload files using input type=“file” field with .change() event not always firing

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.