Re: Cookies Probelm,
| From: | Catalin Trifu | Date: | Fri, 30 May 2003 18:10:33 +0000 |
| Subject: | Re: Cookies Probelm, | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149585@lists.php.net to get a copy of this message | ||
Hi,
Try using sessions instead of cookies. This way the array
gets saved locally and not sent packed into a cookie.
The only thing which passes as a cookie is the session id.
Cheers,
Catalin
"Haseeb Iqbal" <webcodder@hotmail.com> wrote in message
news:Law15-DAV64e2U8QVjp000261be@hotmail.com...
> thanx for the information.
> how can i overcome this ?
> any idea?
> Haseeb
> ----- Original Message -----
> From: "Jay Blanchard" <jay.blanchard@niicommunications.com>
> To: "Haseeb Iqbal" <webcodder@hotmail.com>; <php-general@lists.php.net>
> Sent: Friday, May 30, 2003 11:01 PM
> Subject: RE: [PHP] Cookies Probelm,
>
>
> [snip]
> hi guys i am having this strange problem.i want to store quite a lot of
> data in cookie as an array but the problem is when ever my arrays size
> get equal to 4 it starts over. what could be the problem?
>
> [/snip]
>
> There are size limits for cookies dependent upon the browser. I am going
> to guess that you are testing with Netscape or Mozilla where the limit
> is 4kb.
>
> HTH!
>
> Jay
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>