Andrea wrote:
I urgently need to store a cookie that expires with session. This cookie has
to be read by a section written in jsp, therefore I don't think I can use
$_SESSION variables.

Can anyone help me?

Andrea



to set a cookie that expires with the session do

setcookie (name, value)

this cookie can then also be read by jsp (as long as it is on the same domain)

and you are right that the jsp will not be able to read related $_SESSION variables (unless it can access the file/database where php is storing that information).


--

Sean


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

Reply via email to