> Is there anyway to prevent session variables from being
> overwritten by a get string?
PHP will do this automatically *if* you initialize your session variables to
*anything* as soon as you register them. For example,
session_register("sess_auth");
$sess_auth = "";
If you do this, then session variables will overwrite GET/POST variables,
and the latter will need to be retrieved from the $HTTP_(GET/POST)_VARS
arrays.
Another approach is to turn register_globals off in php.ini. This is a long
one to explain, but has been covered quite bit here- search the archive.
Kirk
--
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]
- Re: [PHP] session variables mailing_list
- Re: [PHP] session variables george
- Re: [PHP] session variables mailing_list
- [PHP] Session Variables Nikhil Goyal
- RE: [PHP] Session Variables Johnson, Kirk
- Re: [PHP] Session Variables Nikhil Goyal
- RE: [PHP] Session Variables Johnson, Kirk
- Re: [PHP] Session Variables Nikhil Goyal
- RE: [PHP] Session Variables Johnson, Kirk
- [PHP] Session Variables Jason Bell
- RE: [PHP] Session Variables Johnson, Kirk
- RE: [PHP] Session Variables Sascha Schumann
- Re: [PHP] Session Variables Jason Bell
- [PHP] Session variables Ing. Lalka Peter
- [PHP] Re: Session variables Richard Lynch
- [PHP] Session Variables Chad Gilmer
- RE: [PHP] Session Variables Rick Emery
- [PHP] Mime type prepeded at file upload David McInnis
- Re: [PHP] Mime type prepeded at file upload Miguel Cruz
- RE: [PHP] Mime type prepeded at file upload David McInnis

