[PHP] Transparent SID and forms (POST) ?

2001-01-27 Thread Alain Fontaine

Hi,


When I use a form that POST's information to another php page, do I have to
manually include php's session name and the session id in HIDDEN form
fields, or is this done automatically ? This applies, of course, when the
user has cookies disabled...



-- 
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] Transparent SID and forms (POST) ?

2001-01-27 Thread Markus Fischer

On Sat, Jan 27, 2001 at 06:29:05PM +0100, Alain Fontaine wrote : 
 When I use a form that POST's information to another php page, do I have to
 manually include php's session name and the session id in HIDDEN form
 fields, or is this done automatically ? This applies, of course, when the
 user has cookies disabled...

If you have enabled php4 with transparent sid's
(compile-thime switch --trans-sid) it happens automatically. To
all form actions and hrefs the sid is appended.

m.

-- 
Markus Fischer,  http://josefine.ben.tuwien.ac.at/~mfischer/
EMail: [EMAIL PROTECTED]
PGP Public  Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0

-- 
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]