Re: [PHP] Re: Cookie Variables Maxing Out Using IE6

2006-08-16 Thread dpgirago
Does IE6 limit somehow/somewhere the number of cookie variables I can create and store? The following code snippet successfully creates 24 cookie variables when run in FireFox, but in IE6 it is limited to 20. I can provide the full code with HTML/Javascript if anyone wants to test for

Re: [PHP] Re: Cookie problem with IE

2005-11-22 Thread Kristen G. Thorson
n.g. wrote: save below as testcookie.php, request it from your browser twice, what do you get at 2nd time? ?php setcookie('sessioncookie', 1); setcookie('storedcookie',1,time()+3600); var_dump($_COOKIE); ? On 11/22/05, Kristen G. Thorson [EMAIL PROTECTED] wrote: Anyone have any

Re: [PHP] Re: Cookie behaviour

2004-08-23 Thread John Holmes
I am running php 5.0.1 on NT. I have a small test script as shown below script language=php setcookie('cat','large',time()+3600); setcookie('dog','small',time()+3600); /script The outcome of this script is that only the LAST cookie is successfully stored.despite having a different name. Is

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Michal Migurski
My login script sets unique, secure, cookies that identify the user. Some of my pages only display content if a secure cookie is present. Is this a bad idea for secure pages with sensitive details as I have heard that cookies can be faked? I am always interested in creating a secure

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Justin Patrin
[snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many things would break. I know that dial-up users get different

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Robert Cummings
On Mon, 2004-06-14 at 14:02, Justin Patrin wrote: [snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] I don't think it changes per request, but rather has the potential to change between requests. Cheers, Rob. --

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Justin Patrin
Robert Cummings wrote: On Mon, 2004-06-14 at 14:02, Justin Patrin wrote: [snip] As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] I don't think it changes per request, but rather has the potential to change between requests. I still don't believe

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Marek Kilimajer
Justin Patrin wrote --- napísal:: [snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many things would break. I know

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Paul Fierro
On 06/14/2004 1:02 PM, Justin Patrin [EMAIL PROTECTED] wrote: As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many things

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Chris
Marek Kilimajer wrote: Justin Patrin wrote --- napísal:: [snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Chris
Paul Fierro wrote: On 06/14/2004 1:02 PM, Justin Patrin [EMAIL PROTECTED] wrote: As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Michal Migurski
[snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many things would break. Not really -- HTTP is stateless,

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread franciccio
I would suggest (haven't tried to write code in details) to associate a random number in a variable each time you send a cookie (for new cookies anyway) and store the key (randomvariable-cookie) ina database. You should be able to verify the user at next connection verifying the matching key.

RE: [PHP] Re: Cookie error after 4.2.3 upgrade

2002-11-08 Thread Ford, Mike [LSS]
-Original Message- From: Erwin [mailto:erwin;isiz.com] Sent: 08 November 2002 08:55 Jack Sasportas wrote: I get the following error when using a previously working cookie function: expects parameter 3 to be long Code is below... I just don't see the difference then the way

Re: [PHP] Re: Cookie error after 4.2.3 upgrade

2002-11-08 Thread Erwin
change your code to: $l_cookie_expireN = (int) date('r', time() - 4000 ); $l_cookie_expire = (int) date('r', time() + 400 ); $l_cookie_expire2 = (int) date('r', time() + 400*30*12 ); No, that's even worse!! Try this: $l_cookie_expireN = time() - 4000; $l_cookie_expire = time() +

Re: [PHP] Re: Cookie array

2002-08-11 Thread Jan - CWIZO
Thanx ! Dne nedelja 11. avgust 2002 18:10 je B.C. Lance napisal(a): to store: setcookie (TestCookie[0], zero, time() + 3600); setcookie (TestCookie[1], one, time() + 3600); setcookie (TestCookie[2], two, time() + 3600); or setcookie (TestCookie[one], 1, time() + 3600); setcookie

RE: [PHP] Re: Cookie array

2002-08-11 Thread Maxim Maletsky
It is way smarter storing serialized array in one cookie. And, if you get length problems then only store SESSID in cookie and the rest in session or database. Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com -Original Message- From: B.C. Lance [mailto:[EMAIL PROTECTED]]

Re: [PHP] Re: cookie ?

2002-07-11 Thread Richard Lynch
Do you remember to reload the page after the cookie is sent? (some browser cant see the cookie at the page it sent but first after it have been reloaded!). Actualy this is not browser issue but PHP issue No, that's just how cookies work. PHP can't get a cookie from the browser before you

Re: [PHP] Re: cookie ?

2002-07-11 Thread Alberto Serra
ðÒÉ×ÅÔ! The stuff about using time/directory is an IE bug. You can supply *BOTH* time and directory, but not just time. This is not the way the Cookie spec reads, but Microsoft never reads specs properly, much less implements them properly, mostly on purpose. Not sure I am saying the truth

Re: [PHP] Re: cookie ?

2002-07-10 Thread Marek Kilimajer
Johan Holst Nielsen wrote: (yes it's me again) i've got an other problem. i've got an login system, and it has to put an cookie, but it seems he doesn't do it. is it an php.ini problem ?? Dont think it a php.ini file. First of all. Remember to set the cookie before any other headers

Re: [PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
Do you remember to reload the page after the cookie is sent? (some browser cant see the cookie at the page it sent but first after it have been reloaded!). Actualy this is not browser issue but PHP issue Aah, sorry... but it doesn't matter in this case, it could be one of the errors?

Re: [PHP] Re: cookie sharing between asp and php

2002-04-09 Thread Scott St. John
On Wed, 10 Apr 2002, Gordon Stewart wrote: As far as I know - ALL cookies set by a particular server - can be read re-set by any programme / process on the same server / website.. So your ASP script could read your PHP cookies vice-versa.. I'm just learning PHP, dont know cookies as yet (I

RE: [PHP] Re: Cookie Expiry Dates?

2001-07-11 Thread Adrian Ciutureanu
you probably mean $cookie_expire = time() + 86400 * 365; -Original Message- From: James Holloway [mailto:[EMAIL PROTECTED]] Sent: 11 iulie 2001 16:02 To: [EMAIL PROTECTED] Subject: [PHP] Re: Cookie Expiry Dates? Hi Jeff, Yes, use time() Example 86400 seconds in a