Simple cookie question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • The Lone Wolf

    Simple cookie question

    Hi,

    if i try to set a cookie but the user has cookies disabled does this resolve
    in an error?

    if so how to prevend it?

    thanks


  • Ian.H [dS]

    #2
    Re: Simple cookie question

    On Thu, 14 Aug 2003 15:36:33 GMT in
    <message-id:50O_a.66894$ F92.7411@afrodi te.telenet-ops.be>
    "The Lone Wolf" <jcorp.webmaste r@pandora.be> wrote:
    [color=blue]
    > Hi,
    >
    > if i try to set a cookie but the user has cookies disabled does this
    > resolve in an error?
    >
    > if so how to prevend it?
    >
    > thanks[/color]


    Shouldn't do.. I've never come across this.

    Are you experiencing an error? and if so, what does the error report? It
    may be something unrelated.. but noen of us can tell (well, I failed my
    mind-reading classes anyway ;) ).

    The only "error" that _should_ occur, is that if you rely on that
    cookie, then something will fail if it's not present, if an _actual_
    error occurs, then I suspect it's something within your actual code, not
    the cookie setting itself =)


    HTH.



    Regards,

    Ian


    --
    Ian.H [Design & Development]
    digiServ Network - Web solutions
    www.digiserv.net | irc.digiserv.ne t | forum.digiserv. net
    Programming, Web design, development & hosting.

    Comment

    • rush

      #3
      Re: Simple cookie question

      "The Lone Wolf" <jcorp.webmaste r@pandora.be> wrote in message
      news:50O_a.6689 4$F92.7411@afro dite.telenet-ops.be...[color=blue]
      > if i try to set a cookie but the user has cookies disabled does this[/color]
      resolve[color=blue]
      > in an error?[/color]

      no if http client does not accept cookie there is no error indication, nor
      any kind of information weathe the cookie has been accepted or not. Only
      when you serve another page to him you can find out if cookie is present or
      not.

      Also there is no way to "persuade" the client to accept the cookie if he
      does not want to.

      rush
      --
      Get your very own domain easily. Fast and professional customer service.




      Comment

      Working...