Simple cookie question

This is a discussion on Simple cookie question within the PHP Language forums, part of the PHP Programming Forums category; Hi, if i try to set a cookie but the user has cookies disabled does this resolve in an error? ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-14-2003
The Lone Wolf
 
Posts: n/a
Default 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


Reply With Quote
  #2 (permalink)  
Old 08-14-2003
rush
 
Posts: n/a
Default Re: Simple cookie question

"The Lone Wolf" <jcorp.webmaster@pandora.be> wrote in message
news:50O_a.66894$F92.7411@afrodite.telenet-ops.be...
> if i try to set a cookie but the user has cookies disabled does this

resolve
> in an error?


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
--
http://www.templatetamer.com/



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0