Re: PHP 4.0 Bug #3936 Updated: Session ID Links Created Incorrectly

From: Date: Tue, 06 Jun 2000 03:26:16 +0000
Subject: Re: PHP 4.0 Bug #3936 Updated: Session ID Links Created Incorrectly
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20301@lists.php.net to get a copy of this message
I got this exact problem on Linux 6.0 with apache 1.3.12. I have also included Frank Joerdens's post I dig out, where he seem to think it is css style sheet interfering. I am going to try his theory. Any pointers greatly appreciated. Before I have to go to 100s of pages to attach the SID to every link. Thanks, Jay Bug Database wrote: > ID: 3936 > User Update by: agould@gent.net > Status: Open > Bug Type: Session related > Description: Session ID Links Created Incorrectly > > I get this same bug with FreeBSD 4.0, Apache 1.3.12 with these compile options: > > ./configure --with-mysql \ > > --with-apxs=/usr/local/apache/bin/apxs \ > > --disable-debug --enable-track-vars \ > > --enable-trans-sid > > Full Bug description available at: > http://bugs.php.net/version4/?id=3936 > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net Subject: Re: [PHP4BETA] weird issue with transparent SIDs From: Frank Joerdens <frank@joerdens.de> Date: 2000-05-04 16:29:30 [Download message RAW] On Thu, May 04, 2000 at 06:04:38PM +0200, Frank Joerdens wrote: > I'm wondering whether this may be a bug in RC1: when using transparent SIDs > (configured with --enable-trans-sid), I am getting the following > nonsensical URL on a page (but not on others): > > ----------- begin snippet ----------- > <a href="projekte.html?PHPSESSID=527480763f61c06581ca59759b26560b"> > Projekte > </a> > <a > href="firmendate?PHPSESSID=527480763f61c06581ca59759b26560bn_update.html"> > Firmendaten > </a> > <form > action="projekt_result.html?PHPSESSID=527480763f61c06581ca59759b26560b" > method="post"> > -------- end snippet --------- > (this is the parsed html that was sent to the browser) > > in the first it's ok, in the last, with the form action, too; but in the > middle, where it should say > firmendaten_update.html?_and_here_goes_the_session_id yet instead it > says > firmendate?_why_the_heck_is_the_darn_sid_embedded_here_n_update.html. > I did a little more experimenting and my theory now would be that my stylesheets (nothing fancy at all, just positioning) are interfering in some mysterious way with the SID embedding. For instance, if my html is ----------- begin snippet ----------- <div class=left> <p class=main><a href="projekte.html">Projekte</a></p> <p class=indent>Projektdaten</p> <p class=main><a href="firmendaten_update.html">Firmendaten</a></p> -------- end snippet --------- I get the above nonsense. However, if it is, for example ----------- begin snippet ----------- <div class=left> <p class=main><a href="projekte.html">Projekte</a></p> <p class=indent>Projektdaten</p> <p class=indent>Projektdaten</p> <p class=main><a href="firmendaten_update.html">Firmendaten</a></p> -------- end snippet --------- or if it is ----------- begin snippet ----------- <div class=left> <p><a href="projekte.html">Projekte</a></p> <p>Projektdaten</p> <p class=main><a href="firmendaten_update.html">Firmendaten</a></p> -------- end snippet --------- there's no problem at all. I tried other permutations which all did not produce the error. My question is, how could stylesheet tags interfere with the embedding at all in this fashion? The problem is identical on IE 5 and Netscape 6 Preview Release 1. Frank -- frank joerdens joerdens new media heinrich-roller str. 16/17 10405 berlin germany e: frank@joerdens.de t: +49 (0)30 44055471 f: +49 (0)30 44055475 h: http://www.joerdens.de

« previous php.dev (#20301) next »