Set it without a expire time, then it will expire whenever the user closes their browser windows. If the jsp that needs to read the cookie on the same domain for wich it's set, it shouldn't have any problem reading it, but yes, you won't be able to use php's $_SESSION in jsp.

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




--
By-Tor.com
It's all about the Rush
http://www.by-tor.com


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

Reply via email to