Try: php_value register_globals Off That should not have any impact on the $_SESSION array, but turning register globals off anyway is a good thing. On Tuesday 30 October 2007, David Christopher Zentgraf wrote: > Hi, > > I'm trying to set up my PHP app at my host, but am stumbling over the > PHP configuration there. register_globals is enabled, which seems to > auto-serialize my objects into $_SESSION, which in some cases > overwrites variables in there. I'm not sure if register_globals is > where the auto-serialization comes from, but it seems to be closely > related at least and I'm not in my best form today... > > I tried putting "php_flag register_globals off" into an .htaccess > file, but that throws an Apache misconfiguration error. > Using set_ini() doesn't seem to do anything either. > > Any advise on how to turn serialization off without dabbling with the > configuration file? > > Chrs, > Dav -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php