Re: cookie issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mr. Zareef,

I got issue from others that :
"With some browsers, setting a cookie and then redirecting with header()
will not make the cookies available on the next page"
I want to know how to solve that issue..

I set cookie like this : setcookie ("name",$user_name, $time+3600);
but all I want is "cookie_id" (just like session variable has session_id)...

Thanx
Flame

----- Original Message -----
From: "zareef ahmed" <zasaifi@xxxxxxxxx>
To: "Sukanto Kho" <starofflame@xxxxxxxxxxx>; <php-db@xxxxxxxxxxxxx>
Sent: Friday, July 02, 2004 10:58 AM
Subject: Re:  cookie issue


> --- Sukanto Kho <starofflame@xxxxxxxxxxx> wrote:
> > Hi All,
> >
> > Do cookie variable has cookie_id and how to call it?
>
> How you set the cookie?
> It will be available as $_COOKIE['COOKIE_NAME'];
>
> >
> > Is Cookie_id same for 1 PC ?? or just in 1 browser??
>
> It is vaid for the pc but expire time applicable.
>
> >
> > How to avoid cookie not passed if using redirecting
> > header(location:"")...sorry if I ask this
>
> Cookies stored on the client machine. If you do not
> want to use them simply set them with no value.
> See manual of setcookie() for more details.
>
> > before...but still havent get any suggestion.
>
> No Problem. You are welcome.
>
>
> Zareef Ahmed
> >
> > Thanx
> > Flame
> >
>
>
> =====
> Zareef Ahmed :: A PHP Developer in Delhi(India).
> Homepage :: http://www.zasaifi.com
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux