Hi Shaun,

> how can i test if a browser supports cookies 

Try and set one on page A, and then read it on page B. If it's not there,
the browser doesn't support cookies.

> Is it dangerous to let php handle the sid in the url 
> if a browser does not support cookies?

There's an extremely remote possibility a session can be hijacked.

> Can someone send me an example of good login code.

Sure:
http://zend.com/zend/tut/authentication.php

Cheers
Jon

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

Reply via email to