Results 1 to 6 of 6

Thread: IIS 5 Development machine - Cookies Not Working!

  1. #1

    Thread Starter
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551

    IIS 5 Development machine - Cookies Not Working!

    Hello

    i've got a strange problem....

    in my asp pages, cookies have stopped working... sometimes, they will write and i can see the file it's made, and it all looks ok... other times it won't even write..... but NONE of the time am i able to read the cookie, even if i can see the file exists....

    there are no errors in my code....

    also, my code works PERFECTLY FINE on a Win2k Server Machine...

    my exact code used to work on my machine... it seemed to stop working after installing visual studio.net, however i cannot confirm that this is when it indeed stopped working...

    my browser settings are ok, and like i said, i can get/send cookies from other sites on my browser, and even from my exact same code which is on another server...

    so that rules out
    1. my code (i've worked with cookies enough now, i know that i know how to do them...

    2. my browser... i can get cookies from anyother sites


    i'm just dumbfounded...

    here's my system specs...

    Windows XP Professional Corporate Edition 5.1 (Build 2600.xpclnt_qfe.010827-1803)

    IIS 5.1 (straight from winxp disk)

    Micrososft Visual Studio.NET :
    MDE Version 7.0.9466
    .NET Framework 1.0 Version 1.0.3705

    and i have more than enough hardware power (1333 mhz AMD, 512 mb ddr)
    i don't understand what the problem is here :/

    maybe someone has heard of this bug before...

    Help guys... thanks!!!

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    If you have IE 6 installed now, cookies funciton differently (more strict).

    Edit the Internet Options and go to cookies and tell it to accept all.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3

    Thread Starter
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    thanks for the try... but i already stated a few times...

    my browser settings are just fine.. they are at accept all.. .and if that's not enough


    my EXACT same code works fine if the code is residing on another server.... i can access it through my browser and cookies work fine, just when the code is on my machine (my development machine), the cookies don't work../

  4. #4
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    I know you stated that, but I wasn't sure if you were aware of it.

    Good luck. . .
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  5. #5

    Thread Starter
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    heh.. yeah..

    thanks for trying though! appreciate it

  6. #6
    New Member
    Join Date
    Apr 2001
    Posts
    7
    i had a similar probelm, but it got solved when i put a path to the cookie..

    .Path = "/" (dont remeber the exact command i am sure u will know)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width