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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:47:08+00:00 2026-06-09T12:47:08+00:00

I wrote a web app on VisualBasic 2010, and cookies persist in all browsers

  • 0

I wrote a web app on VisualBasic 2010, and cookies persist in all browsers except Internet Explorer 8.

the answer that follows solves the problem.

  • 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-09T12:47:09+00:00Added an answer on June 9, 2026 at 12:47 pm

    I solved the problem by re-writing my cookie read and write methods.
    (web app developed with VisualBasic2010 and runs on Windows Server 2008)

    sub update_cookie_string( cookie_string, cookie_subkey  )
    
        dim cookie_object as HttpCookie     
        if request.cookies( PROGRAM_COOKIE_NAME ) is nothing then   ' PROGRAM_COOKIE_NAME not at browser?
            cookie_object = new httpcookie( PROGRAM_COOKIE_NAME )           ' init cookie object as cookie named: PROGRAM_COOKIE_NAME
        else
            cookie_object = request.cookies( PROGRAM_COOKIE_NAME )          ' Read cookie named PROGRAM_COOKIE_NAME from page from browser
        End If
    
        cookie_object.Values( cookie_subkey ) = cookie_string       ' Update cookie_subkey with new value cookie_string
        cookie_object.Expires = DateTime.Now.AddDays(365)           ' set expiration for a long time
        response.Cookies.add( cookie_object )                   ' Send it back to browser for storage there.
    end sub
    
    
    
    ' Retrieve stored cookie_subkey.
    function get_cookie_string( byval cookie_subkey  ) 
        dim cookie_object as HttpCookie     
        if  request.cookies( PROGRAM_COOKIE_NAME ) is nothing then  ' PROGRAM_COOKIE_NAME not at browser?
            get_cookie_string = ""
        else
            get_cookie_string = Request.Cookies( PROGRAM_COOKIE_NAME )( cookie_subkey )  ' Return string value of cookie_subkey 
        End If
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote this little web app that lists the websites running on the local
This Java web-app I am using that other developers wrote is structured in the
I have a web app that I wrote for mobile Safari, and added the
I have a small web app I wrote that has a Dijit.layout.BorderContainer nested within
I wrote a small internal web app using (a subset of) pylons . As
I wrote a small express.js based web app. I serve a manifest.webapp but express.js
I wrote a feature to test the default configuration of my web app using
I've never done a Java Web start application before. I wrote my app's JNLP
I'm writing a simple web app in PHP that needs to have write access
I wrote a simple web app to let user input data as they walk

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.