Re: Determingin if cookies are useable?
| From: | Chris Lee | Date: | Sat, 17 Feb 2001 16:35:27 +0000 |
| Subject: | Re: Determingin if cookies are useable? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40354@lists.php.net to get a copy of this message | ||
if your server does not have --trans-sid enabled the SID will not
automatically be appended to the URL, I think this is what your looking for,
to NOT have the SID appended right? then your server is set.
I test for cookies support in the same manner you mentioned, set it, see if
its still there.
--
Chris Lee
Mediawaveonline.com
em. lee@mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""John Vanderbeck"" <agathorn@cfl.rr.com> wrote in message
news:002601c098f9$797715a0$d8721a18@cfl.rr.com...
> I'm trying to find an enviroment variable, or something, that will let me
> know if the client's browser has cookies enabled or not. I'm doing this,
> because I don't want to pass the SID in the URL if I don't have to, and
the
> PHP I am working with is not compiled with --trans-sid
>
> I'm guessing I could do this in a roundabout way, by setting a cookie,
then
> trying to read it back. However, I was wondering if there way a simpler
> way?
>
> - John Vanderbeck
> - Admin, GameDesign
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>