php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4292 Automatic session propagation produces garbage
Submitted: 2000-05-02 10:27 UTC Modified: 2000-08-01 09:34 UTC
From: frip at bigfoot dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Release Candidate 1 OS: AIX 4.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
8 + 24 = ?
Subscribe to this entry?

 
 [2000-05-02 10:27 UTC] frip at bigfoot dot com
Consider the following script:

<form method="post" <?= my_form_action (); ?> >

If you move the method="post" string in the return string of my_form_action function, the engine produces garbage.
It seems to need the form method in order to add or not the SID for session propagation.

Here are my compilation options:

Configure command: './configure' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--prefix=/soft/php-4.0RC1' '--with-yp' '--with-sybase-ct=/soft/sybase' '--with-ldap=/soft/openldap-1.2.1' '--with-gdbm=/soft/gdbm-1.7.3' '--with-gd=/soft/gd-1.7.3' '--with-zlib=/soft/zlib-1.1.3' '--enable-sysvshm' '--enable-sysvsem' '--enable-xml' '--with-mysql=/soft/mysql-3.22.27' '--enable-trans-sid' '--disable-debug'

Greetings

Frip'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-04 23:42 UTC] hholzgra at cvs dot php dot net
is this still reproduceable with a more current version?

and if so: does it possibly depend on where in the
script the form tag is placed? does adding some whitespace
in front of it change the results you get ?
 [2000-08-01 09:34 UTC] hholzgra@php.net
trans-sid-id rewrite should fix it
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC