Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP/JScript cookies...?

ASP/JScript cookies...?

Scheduled Pinned Locked Moved Web Development
sysadmintoolshelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alex barylski
    wrote on last edited by
    #1

    I wrote a small utility JScript cookie helper class thats posted here on CP. I'm using it in the development of my own site but I am also using ASP. This is where the problem comes in...My cookie object stop working properlynow that i'm using ASP... Do client/server cookies clash...? Should I always use ASP for cookie managment...? Thanx! "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

    G B 2 Replies Last reply
    0
    • A alex barylski

      I wrote a small utility JScript cookie helper class thats posted here on CP. I'm using it in the development of my own site but I am also using ASP. This is where the problem comes in...My cookie object stop working properlynow that i'm using ASP... Do client/server cookies clash...? Should I always use ASP for cookie managment...? Thanx! "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

      G Offline
      G Offline
      Glenn Kees
      wrote on last edited by
      #2

      It depends on the context that you are trying to use the cookies to store information. I'm guessing you are having problems viewing cookie information (in ASP) that you created/modified on the client browser? Software Developer

      1 Reply Last reply
      0
      • A alex barylski

        I wrote a small utility JScript cookie helper class thats posted here on CP. I'm using it in the development of my own site but I am also using ASP. This is where the problem comes in...My cookie object stop working properlynow that i'm using ASP... Do client/server cookies clash...? Should I always use ASP for cookie managment...? Thanx! "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

        B Offline
        B Offline
        Brian V Shifrin
        wrote on last edited by
        #3

        Hmm, Cookies, cookies and more cookies. In WinWorld ALL cookies created with InternetSetCookie / InternetGetCookie API's. ( except of may be Netscrape). IIS/ASP sends cookies to the browser. Browser/webbrowserCtrl creates permanent cookies. Temporary cookies never written to HD. InternetSetCookie takes URL. This is were it could falls appart. http://127.0.0.1 could be different from http://your.com.pu.ter To verify that your permanet cookies are working Just call InternetGetCookie. For example: bRet = InternetGetCookie("http://www.yahoo.com", NULL, sCookieVal, 10240) Brian

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups