You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Phee, Martin J (Jump Tech)" <Ma...@bp.com> on 2002/07/15 21:16:45 UTC
Problem setting cookies
I'm trying to set two cookies, and only the second one is taking. When I
look at the cookie file on the client only the "contactinfo" is there.
Code snip:
CookieParser cp = data.getCookies();
int iCookieLife = TurbineResources.getInt("cookie.lifetime", 1555200000);
Log.debug("Setting InterConnect: " + delmeter );
cp.set( "interconnect", delmeter, iCookieLife );
Log.debug("Setting contactinfo: " + cont_info );
cp.set( "contactinfo", cont_info, iCookieLife );
data = cp.getRunData();
Any help would be appreciated!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>