destroying session vars never worked for me either. it hasnt for quite some
time. now why its important you destoy them other then cleanup, I dont know
your reasons. Im going to guess.
- you store username/passwd in sessions and because httpd runs as nobody,
anyone on the server can read them. ans: chroot telnet, telnet, ftp, it
should be done anyhow. dont store passwd's in plain text, encypt them and
compare the encryped passwd to the storeed encrypted passwd on the server,
if correct, great. you should do it this way anyhow.
- your finatical about cleanlyness and code perfect. ans: so am I. I rip
hair out and call it a day. dont stress it.
- you think you *have* to do this just to get sessions working: ans: wrong
- you think these files will stay on the server forever and fill your HD.
ans: wrong, check php.ini for session_gc (garbage collection)
email me any questions.
"Richard Baskett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Unusual that I didnt even get one response, so I shall try again! :)
> Ok why does this not work?
> $sess = 0;
> etc etc etc etc etc etc..
> After all that is executed I take a look at the session file and what do I
> see? All the session variables still there... and the file still there
> also! How can I get rid of them?
PHP General 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]