Results 1 to 3 of 3

Thread: Cookies in 1.1 [resolved]

  1. #1

    Thread Starter
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    Cookies in 1.1 [resolved]

    I haven't been able to find any recent articles on cookies with the new framework. My problem is that all the tutorials I have found say to do this:
    VB Code:
    1. If Request.Cookies("mychoices") = Null Then
    but it won't compile saying that Null is no longer supported. Even asp.net says to do that. How do I check to see if the user has a cookie set in the .net 1.1 framework?
    Last edited by blindlizard; Sep 23rd, 2003 at 02:51 PM.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    I've not used cookies yet in asp.net but would

    Code:
    if request.cookies("mychoices") is nothing then
    work?

  3. #3

    Thread Starter
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141
    That worked....thanks
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

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