Why on earth would you refuse users without cookies??  Take a look at all
the major websites (amazon & msn for starters).

Do they require cookies?  No.
Do they require JavaScript?  No.
Do they require anything else special on the site?  No.

They take advantage of technology where available (DHTML and CSS for
example), but the basic guts of the site can function without any of it, to
the best of my knowledge.

Instead, you choose to defy what every major site is doing, and require
cookies.

Cookies are not available to a wide number of users:

- those in corporations where the IT dept. has disabled them
- those accessing the 'net from any public computer:
    - libraries
    - airports
    - internet cafe's
- those who choose to have a more secure, private web experience
- those who don't understand the technology


Doesn't make sense to me at all, but as long as you properly inform the
client of your choice to ignore a large portion of users, then I guess it's
your (and their) choice.


PHP actually has a nice degradation of sessions built in.  If you compile
PHP with enable-trans-sid (compiled by default on PHP >= 4.3 I *think*), PHP
will:

1.  use cookies wherever possible, OR

2.  rewrite* all relative URLs/links in your pages to include the session
id, where cookies are not available

* in practice, it doesn't handle javascript or other client side scripting
that well from memory.


Even with enable-trans-sid not compiled, you can manually append the session
id to all your URLs with the pre defined constant SID.


This is just my point of view, but I don't believe you have any excuse for
not allowing non-cookie users to join in the fun, and CERTAINLY not without
informing the client of your decision.


To manually test for cookies, know that you're testing, then let the user
know that you don't want their business/traffic is more work than just
letting PHP handle it with enable-trans-sid.


Justin French



on 04/06/03 6:08 PM, Monty ([EMAIL PROTECTED]) wrote:

> I've decided to require that members for a site need to have cookies enabled
> in their browsers to sign-up and use the site. Is there a graceful way to
> deal with this when users who have cookies off try to sign-up or log-in to
> the site? 
> 
> Thanks,
> 
> Monty
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to