[PHP-WIN] The problem of cookie

2001-07-16 Thread science
Hi all, I set the cookie and retrieve it at the same page but when I click botton twice, it only appear once. No matter how many times I click, it is always one time short. How can I solve this problem? When I click the botton, it will get the variable from cookie then connect to the database to

Re: [PHP-WIN] The problem of cookie

2001-07-16 Thread science
Flint, Thanks for answering. Well, I'll figure out how to solve it at the same page. In addition, Session can't solve this problem, I tried this way before. Thanks again Dper "Flint Doungchak" <[EMAIL PROTECTED]> ? [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dper, > > You can't set a

Re: [PHP-WIN] The problem of cookie

2001-07-16 Thread science
Flint, Thanks for answering. Well,I'll try to figure out how to solve it. In addition, Session can't solve this problem. I tried this way before. Thanks again Dper "Flint Doungchak" <[EMAIL PROTECTED]> ? [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dper, > > You can't set and retrieve t

[PHP-WIN] A strategy for dealing with the cookie

2001-07-16 Thread science
First of all, Thanks Flint for answering. Well, Session can't solve that problem too. I tried that before. A strategy is: When you set/retrieve the cookie at the same page, it can't retrieve the last data from the cookie. But it recorded all the data. Probably, we can just handle the variable to

[PHP-WIN] how to update the cookie?

2001-07-17 Thread science
Hi all, Does anybody know how to update the value in the cookie? Thanks DP -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] About "no-cache"

2001-08-21 Thread science
Hi all, I am using cookie to write a counting page but when the page is refreshed, it will increase by 1 automatically. According to this problem, I used following lines but it doesn't work -- header ("Expires: Mon, 26 J

[PHP-WIN] Re: About "no-cache"

2001-08-26 Thread science
-- > Matthias Maar > Lehrstuhl für Informatik I > Universität Würzburg > Am Hubland > D-97074 Würzburg > Germany > Tel.: ++49 (0) 931/888-4941 > Fax: ++49 (0) 931/888-4600 > http://www1.informatik.uni-wuerzburg.de > > "Science" <[EMAIL PROTECTE