note 7718 added to Session handling functions

From: Date: Sat, 12 Aug 2000 11:32:58 +0000
Subject: note 7718 added to Session handling functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-1436@lists.php.net to get a copy of this message
Hi everyone, First off, let me say I'm a network admin, who also works as a webmaster putting together a company intranet that may go www in the future. i.e. I'm not a full time php devhead... Heres my situ, (answers would hopefully be appreciated not just by myself but by many a novice php devhead - go php :-) I've been studying session documentation and they appear to be able to assist with solving a number of problems related to the stateless nature of the http protocol, in particular, the following two areas; i) Security Ensuring all MySQL inserts are performed by authenticated users only based on $user $pswd & $remoteipaddress. ii) Avoiding duplicate MySQL (or other db) inserts users are likely to click on the back or reload buttons, if they have not received a page telling them that their insert has been succesful. If they do this and try to 'repost' data that has already been inserted an error should be raised. What I am really asking for is; i) what you need to do to make sure php4 is configured to be able to do this ii) an example application that demonstrates this functionality, with core code that can be 'componentised or cut and pasted' into other php based apps. Thanks for your valuable time and have a good one, oh by the way for all you php, mysql gurus, I recently saw a job advert offering UK£60,000 or approx US$90,000 for a php/mysql role, good news for all those using open source software :-) http://www.php.net/manual/ref.session.php

« previous php.notes (#1436) next »