PHP: Where to Securely Save Cookies

Thank you for the tips, David.

In the case of my server (ServerLogistics shared server), /tmp/ is indeed 777. And I can use an FTP client to create a new folder within it and assign any permissions I like to my new folder. But when I use 730 permissions on my folder inside /tmp/ and then try to save cookies into that folder via PHP, nothing is saved. But when I change permissions on my folder to 777, then PHP can save the cookies in my folder.

By the way, if I save cookies directly into /tmp/ I cannot delete or move them with an FTP client. I can only do those manipulations with PHP. But cookies saved by PHP inside my folder ( /tmp/myfolder/ ) can be deleted easily with an FTP client.

James Wages


dynamo mailing list
email@hidden
Update your subscriptions at: