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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:40:02+00:00 2026-05-26T04:40:02+00:00

Assuming I’ve used InternetExplorer.Application to pro grammatically navigate to a website that in turn

  • 0

Assuming I’ve used InternetExplorer.Application to pro grammatically navigate to a website that in turn has set a session cookie, how can I access the value of that cookie (that is only in memory at this point)?

The only way I can think of would involve adding some client side scripting to the Document.Body.InnerHTML and then call that scripting with .Navigate(“javascript:functionName()”). Assuming that function would in turn create an element with the value of the cookie in question that I could retrieve at that point.

However, this seems convoluted and I’ve not yet been successful. Please tell me there’s a simpler way.

EDIT: My question was answered in another forum by Rick Strahl. Apparently I didn’t read the documentation close enough because there is a document.cookie property that will give me the answer without any convoluted process.

Now, do I down vote my own question? 🙂

  • 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-26T04:40:02+00:00Added an answer on May 26, 2026 at 4:40 am

    For completeness sake, I’m putting my answer that I added in the question above as the answer here.

    The answer is simple, there is a document.cookie property that will give the value I was looking for. The difficulty, I found, is in finding the official documentation for the DOM accessible via the InternetExplorer.Application object. Intellisense in Visual Studio wasn’t showing this property (at least for me) so I assumed there wasn’t one.

    I think I found the official document for the DOM here:

    http://msdn.microsoft.com/en-us/library/ms535862(v=VS.85).aspx

    and the cookie property specifically here:

    http://msdn.microsoft.com/en-us/library/ms533693(v=vs.85).aspx

    Hope this helps someone avoid chasing their tail in the future.

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

Sidebar

Related Questions

assuming that you have the following sentence in a requirements document The system has
Assuming my web application has full support of PUT and DELETE on the server
Assuming a fluid layout is not an option (since that is a different discussion
Assuming that we have a T myarray[100] with T = int, unsigned int, long
Assuming I have a valid session and an authenticated user, what are some ways
Assuming I have a table with one field called ID that stores 100 different
Assuming some algorithm has a polynomial time complexity T(n) , is it possible for
Assuming that I have an variable like: int n = 23; it is possible
Assuming following code. There is class MyStream witch has template overloaded operator <<. There
Assuming that I have to write to a binary file. I can use the

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.