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 fo

[PHP] Re: Cookie Variables Maxing Out Using IE6

2006-08-16 Thread Adam Zey
[EMAIL PROTECTED] wrote: 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 wa

[PHP] Re: Cookie problem

2006-01-16 Thread Al
Al wrote: Can't get a cookie to set. Below is the code near the file top BEFORE any html output. $_POST['prefs'] comes from a hidden field in the middle of the html output. $_POST['filter'] comes from a select option. A Submit button closes the page and refreshes it. print_r($_POST) shows $_

[PHP] Re: Cookie problem with IE

2005-11-22 Thread n.g.
did i say it? sorry, i mean load the page in your customer browser. the code you give simple test stored cookie, which might be blocked by browser. however browser blocks stored cookie might allow session cookie, they are not stored so are less insecurity. bad thing is your customer have some ant

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? On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote: Anyone have any suggestions? I'm still stuck. thanks, kgt Kristen G. Thorson wrote: I'm having problems with a

[PHP] Re: Cookie problem with IE

2005-11-22 Thread n.g.
save below as testcookie.php, request it from your browser twice, what do you get at 2nd time? On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote: > Anyone have any suggestions? I'm still stuck. > > > thanks, > kgt > > > > Kristen G. Thorson wrote: > > > I'm having problems with a custo

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 setcookie('cat','large',time()+3600); setcookie('dog','small',time()+3600); The outcome of this script is that only the LAST cookie is successfully stored.despite having a different name. Is this because they are both

[PHP] Re: Cookie behaviour

2004-08-23 Thread Daniel Schierbeck
Michael Purdy wrote: Folks I am running php 5.0.1 on NT. I have a small test script as shown below setcookie('cat','large',time()+3600); setcookie('dog','small',time()+3600); The outcome of this script is that only the LAST cookie is successfully stored.despite having a different name. I

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 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 st

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 w

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 thin

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 t

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 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 t

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
[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 IP

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 > > se

[PHP] Re: Cookie Security?

2004-06-14 Thread Justin Patrin
Phpmail wrote: 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

[PHP] Re: Cookie Problems (Different than the post by David Jackson)

2004-03-02 Thread Puiu Hrenciuc
I bet you have some session management functions in include('lib/sessionfunc.php'); something like session_start() that also sends out header informations, but you can't send any headers AFTER you have started the output for eg: Some HTML output like: code1 will work ok, but code2 will fail

[PHP] RE: Cookie security

2003-06-03 Thread SLanger
[snip] Can I trust every browser to check for old cookies on startup and eliminate them? And still, even if I can, wouldn't the cookie be intact to read on the harddrive until the browser is started again? I was thinking about slicing the username and password strings in two, and storing the halv

[PHP] Re: cookie problem..

2003-02-23 Thread Joel Colombo
make sure u run a session_start(); before anything on the page u cant access any session vars without it. Joel "Terry Lau" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > I want to set a cookie when I enter a text into the text field, and it > shows the text I sub

[PHP] Re: cookie problem..

2003-02-22 Thread Lord Loh.
Cookies are loaded the next time the page is loaded. So you may have to refresh the page to see the cookie... or Submit to a html page which will redirect to the page which shows cookie value... Hope this helps...This should work... Lord Loh -- PHP General Mailing List (http://www.php.net/)

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_expir

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 th

[PHP] Re: Cookie error after 4.2.3 upgrade

2002-11-08 Thread Erwin
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 the doc > uses: time() - 3600 > > -vs- the way I did it below... > > Thanks ! > > function > f_put_co

[PHP] Re: cookie

2002-09-26 Thread Bsantos PHP
Why don't you keep you mind ahead and use session auth bsantos "Meltem Demirkus" <[EMAIL PROTECTED]> wrote in message 001701c26532$ba7c8c90$5583@hiborya">news:001701c26532$ba7c8c90$5583@hiborya... > hi, > can anybody help me with cookies..I read the manual of php but it came > complicat

[PHP] Re: COOKIE Question.

2002-09-16 Thread Erwin
> First I set the cookie like so: > setcookie ("Access", "Test_Value",time()+31536000); > > Then I check my Cookies in Netscape and I can see that I have the > cookie stored. But when I go to the page that has > > print $HTTP_COOKIE_VARS["Access"]; > print $_COOKIE["$Access"]; > and even > print

RE: [PHP] Re: Cookie array

2002-08-11 Thread Maxim Maletsky
TECTED]] > Sent: Sunday, August 11, 2002 6:11 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Cookie array > > to store: > > setcookie ("TestCookie[0]", "zero", time() + 3600); > setcookie ("TestCookie[1]", "one", 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() +

[PHP] Re: Cookie array

2002-08-11 Thread B.C. Lance
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 ("TestCookie[two]", "2", time() + 3600); setcookie ("TestCookie[thr

[PHP] Re: Cookie array

2002-08-10 Thread Lee Doolan
> "Jan" == Jan <[EMAIL PROTECTED]> writes: Jan> Hi ! How can I stoor array in to a cookie ? Jan> Do I just define an array and stoore it in a cookie ? How do Jan> I access the data in the array then ? you can use serialize() / unserialize() but be careful because the amount o

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 tru

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 befo

[PHP] Re: cookie ( still not working )

2002-07-11 Thread Richard Lynch
>i simpley put an cookie with : > >setcookie("gfo_cms" ,$sessid , ''); That's wrong. You should be passing a TIME in for the third argument, or nothing at all. Also, due to an IE bug, if you *DO* pass in a TIME, you *MUST* also pass in a non-empty path. '/' will be fine. So, if you want a '

[PHP] Re: cookie ( still not working )

2002-07-10 Thread vins
My experience with cookies is really unhappy. I've once developed a website that needed to store information. I though hey cookies are the quicker option to hell with sessions. Now today after all of my problems with the cookies environment i've turned back to sessions. Sessions can store

[PHP] Re: cookie ( still not working )

2002-07-10 Thread richard . mail
Johan Holst Nielsen writes: > >> my cookie problem is still not solved :( >> my browser settings are correct, and the script has worked. >> but sins i now installed php 4.2.1 with apache 1.3.24 it doesn't work :( >> does any one have an solution ?? >> thnx in advance, > > > Sure about your r

[PHP] Re: cookie ( still not working )

2002-07-10 Thread Johan Holst Nielsen
> my cookie problem is still not solved :( > my browser settings are correct, and the script has worked. > but sins i now installed php 4.2.1 with apache 1.3.24 it doesn't work :( > does any one have an solution ?? > thnx in advance, Sure about your register_globals = off? please show us the so

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

[PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
> it's not the browser or what so ever, > i installed php 4.2.1. with apache 1.3.24 on a Redhat 7.1 server. > > but becuas for some kind a reason it wont work :( > > any body got an idea ?? try to get the cookie witgh $_COOKIE["cookiename"]; if you have register_globals = off! Regards, J

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

[PHP] Re: cookie ?

2002-07-10 Thread Johan Holst Nielsen
> (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 is sent to the browser. Do

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

[PHP] Re: cookie sharing between asp and php

2002-04-09 Thread Gordon Stewart
Scott St. John <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have developed a security application for our intranet that handles a > user login. It writes values to a cookie and uses that to verify them on > the intranet sites until the sessions expire. >

[PHP] Re: cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread Julio Nobrega Trabalhando
Not possible, read the manual page about setcookie: www.php.net/setcookie There's a 'common pitfall' entry saying so. Don't know why. Maybe the cookie is only written to user's disk after the page is fully loaded, maybe for security reasons. -- Julio Nobrega. Um dia eu chego lá: http:/

[PHP] Re: cookie problem

2002-02-11 Thread Hasan Niyaz
Hi all, Perhaps some one can help me. If I send a cookie like setcookie(+ACI-cookie+AF8-agtpasswd+ACI-,+ACQ-form+AF8-agent+AF8-pass, time()+-1200, +ACI-/+ACI-)+ADs- it does not work on the terminal which has a new version of windows 2000 and with IE6. The browser does not store the cookie.

[PHP] Re: Cookie Can't Display Name on other page

2001-12-21 Thread Chris Lee
wow sessions and cookie on the same page? why dont you just use one or the other? I pref sessions. never the less. your not setting the exp, path, or domain in your setcookie() you must do all those. setcookie('name', 'chris lee', time()+84700, '/', 'www.mediawaveonline.com'); -- Chris Lee

[PHP] Re: Cookie Retrieval

2001-12-18 Thread Chris Lee
I know this isnt answering your question, but skip cookies and goto sessions, easier to work with. now the answer to your question, you need to set the domain and path on your setcookie() setcookie('name', 'value', $exp, '/', $SERVER_NAME); -- Chris Lee [EMAIL PROTECTED] "Steve Osborne"

[PHP] Re: cookie

2001-08-18 Thread Christopher Sogge Røtnes
"Nafiseh Saberi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hi. > > what is cookie?? > > thanks much. what the... oh its you again. I am too tired to give you the complete setup. Here is the short term explanation. Read the links below for more info.

[PHP] Re: cookie expire...

2001-08-18 Thread Richard Lynch
> Could I expire a cookie on a determinate date?? I mean tell the cookie > that will expire on 17/08/2001... Unless I'm missing something, that's trivial using: http://php.net/manual/en/function.setcookie.php -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED]

[PHP] Re: Cookie Help

2001-08-13 Thread Richard Lynch
> Hi, I have a problem with setting cookies...I am able to set cookies and > retreive the information when using IE but not netscape. I'm not totally > sure what the problem is. Here is the syntax that I am using, any > suggestions are welcomed. > > $cookiedata = "Mmmm"; > $time = mktime()+900; >

[PHP] Re: Cookie only worked on "/" but not in any sub-directories

2001-08-12 Thread Richard Lynch
Try adding "/" after the time argument to SetCookie. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message --

Re: [PHP] Re: Cookie Expiry Dates?

2001-07-11 Thread James Holloway
ednesday, July 11, 2001 1:58 PM Subject: RE: [PHP] Re: Cookie Expiry Dates? > you probably mean > $cookie_expire = time() + 86400 * 365; > > > -Original Message- > > From: James Holloway [mailto:[EMAIL PROTECTED]] > > Sent: 11 iulie 2001 16:02 > > To: [EMAIL

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

[PHP] Re: Cookie Expiry Dates?

2001-07-11 Thread James Holloway
Hi Jeff, Yes, use time() Example 86400 seconds in a day. 3600 in an hour. Use some basic maths: $cookie_expire = time() * 86400 * 365; // Sets cookie for a year (365 days). James. "Jeff Lewis" <[EMAIL PROTECTED]> wrote in message 006101c10a08$874f93c0$76a1a8c0@LEWISJCIT">news:006101c10

[PHP] Re: Cookie with Netscape

2001-01-30 Thread Kristofer Widholm
At 11.08 -0800 01-01-29, Eugene Yi (InfoSpace Inc) poked the keyboard as follows: >I set up a cookie using the following command and it works fine under IE but >not in Netscape. Am I doing something wrong? > >setcookie("mycookie[1]",$domain,"","/","mydomain.com"); > >Please help me. Thanks much