Re: Where to save customer-adresses safty...
| From: | David VanHorn | Date: | Sun, 13 Aug 2000 23:23:06 +0000 |
| Subject: | Re: Where to save customer-adresses safty... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11537@lists.php.net to get a copy of this message | ||
At 09:08 PM 8/13/00 +0200, Martin Thoma wrote:
Hello ! I have a form, where a customer can input his address. Often, customers come back and the form is empty, they have to re-enter the address. What's the safest way to save the customer-address ? 1.) Setting a cooking, which "points" to a file on my web-server. The directory is protected via .htaccess. 2.) Same as 1.), but letting the user have a password to access the file.I'm no expert, but I use 1 and 2. In other words, the user logs in with username and password, and then gets a cookie, which lets them move around in the site. All the secured pages use the cookie to pull up account information out of a database. However, the cookies expire quickly, and I don't expect them to be there on the next visit. Also, the cookies are replaced on every page, so there is no chance of someone coming in with an old cookie and accessing the site. -- Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9