CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 PHP4.2.2 ?PHPSESSIONID Problem

Print topic Send  topic

Author Message
kangus
Posted: 08/28/2002, 6:24 PM

My WSP (web service provider) just upgraded to PHP4.2.2 and now every Href has a ?PHPSESSIONIDxxxxxxxxxxxx append to them, if you hit refresh they go away, sometimes. Has anyone else notice this behavior? I have tried different setting in the .htaccess and ini_set('session.use_trans_sid', false); in my Common.php file without any effect.

So far nothing is helping and I have 5 sites that are down because of this behavior.
My vendor tells me I have the problem:
XHTML 1.0 Strict or XHTML 1.1 validation
If you have forms and have left the default settings for the rewritable
tags PHP will also add a hidden input to forms on your site but does
that in such a way that your code cannot validate as XHTML 1.0 Strict or
XHTML 1.1.

mrvanjohnson
Posted: 08/28/2002, 6:37 PM

Check and make sure register_globals is turned on inyour php.ini file. By default it is OFF. This makes life annoying to people who may be running application that assumes this is enable. It is a security risk and most ISP are opting to keep it off now a days. Haven't had a problem with any of my CCS sites as of yet but that's not to say there may be situation where you will.

Hope this helps
kangus
Posted: 08/28/2002, 10:57 PM

I install PHP4.2.2 + mySQL + Apache and moved the project I was working on to the new server and then turned: "session.use_trans_sid = true;" like my vendor had and everything died. It seems my vendor had been told that a new version of the server manager needed this setting in order to run so to hxxx with the customers. What this does is append PHPSESSIONID to the URL on every page, needless to say if you have some 'links' youre database points to you won't make it there.

The fix for now was to add: ini_set('session.use_trans_sid', false);
to the common.php file right after <? . Another means to fix this is edit the .htaccess file.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.