[PHP-WIN] Re: php-windows Subject: How do I prevent double posts?

2003-07-12 Thread Neil Smith
The unique ID I normally use is to log the session ID into the DB and check if there are records with that ID before accepting the submission. I meant to say, this is what I would do client side to prevent them submitting the form twice initially - its more effective than a round trip to the se

[PHP-WIN] Sessions

2003-07-12 Thread Miha Nedok
I'm developing web apps written in PHP for quite a long time. I would like to know your preferred way using sessions ( cookie or TRANS SID ). I'm using Cookies. I would like to hear some pro et contras. :) -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

RE: [PHP-WIN] need help with sessions

2003-07-12 Thread Donatas
Thanks, this is something I was looking for. I now retested this very same code at home where I have PHP 4.3.2 running on Windows 2003 Standart Server and it worked, now I just want to find out whether it was windows or PHP related. Cheers, Donny PS. Thanks everyone for help -Original Mess

RE: [PHP-WIN] need help with sessions

2003-07-12 Thread Miha Nedok
You can use HTML: -Mike On Thu, 10 Jul 2003, Donatas wrote: > Date: Thu, 10 Jul 2003 19:25:46 +0200 > From: Donatas <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] need help with sessions > > Thanks Luis, > > I had this idea in mind, but still... maybe someone knows a w

php-windows Digest 12 Jul 2003 09:44:52 -0000 Issue 1821

2003-07-12 Thread php-windows-digest-help
php-windows Digest 12 Jul 2003 09:44:52 - Issue 1821 Topics (messages 20775 through 20777): Security Update Problems Continue 20775 by: Sheldon Quinton Re: php-windows Digest 11 Jul 2003 19:46:14 - Issue 1820 20776 by: Neil Smith 20777 by: Stephen Administrivia:

Re: [PHP-WIN] Re: php-windows Digest 11 Jul 2003 19:46:14 -0000 Issue 1820

2003-07-12 Thread Stephen
This is a weak solution to the problem, as users without javascript enabled (And possibly other browsers) will be able to send the form twice still. Perhaps a better way would be to give a form a unique ID which PHP can then check aganist a database of some sort. That would completely stop double s