Re: [PHP] trans id problem

2007-03-24 Thread Juergen Wind

>* restart apache on the server side 
restarting the server is not neccessary if php_values/flags are changed via
.htaccess

>* in the page containing the method=POST form there must
>be "" tags somewhere with the PHPSESSID in the 
>form's HTML source
php does this automagically, you can see the SID on the "action" page like
so:
echo SID, 'POST-';
print_R($_POST);
echo 'SESSION-';
print_R($_SESSION);




-- 
View this message in context: 
http://www.nabble.com/trans-id-problem-tf3447048.html#a9652240
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] trans id problem

2007-03-24 Thread Holger Blasum
Hello Luciano, 

> i have a big problem with form with method post.
> the php correclty add the hidden session variables
> but it seem that it does not arrive to the page.

Having toggled session's use_trans_sid first time myself last week, 
take care to:
 * restart apache on the server side (you apparently did this, 
otherwise get wouldnt have worked)
 * reload the page on the browser side (after having disabled
cookies), make sure the page is not cached (then it would 
be without PHPSESSID or with the wrong PHPSESSID)
If then there is still a problem, you can check: 
 * in the page containing the method=POST form there must
be "" tags somewhere with the PHPSESSID in the 
form's HTML source
 * as a last resort for any network transfer, you also could use 
http://www.wireshark.org/ to look at what really goes over the wire

HTH,

-- 
Holger Blasum +49-174-7313590 (cell) GnuPG 1024D/ACDFC3B769DC1ED66B47


signature.asc
Description: Digital signature


[PHP] trans id problem

2007-03-22 Thread Luciano Tolomei

I must configure a site to not use cookie at all.

so i have made a directive in the .htaccess file
to disable cookie and use only trans id:

php_flag  session.use_cookies 0
php_flag  session.use_trans_sid 1


i have a big problem with form with method post.
the php correclty add the hidden session variables
but it seem that it does not arrive to the page.

if i put method= get in the form it works, but i cannot do it, and i 
really need post method.


There is some known problem about that ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php