tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Boorshtein <mboorsht...@gmail.com>
Subject Re: How to create custom session and cookie?
Date Sun, 08 Sep 2013 14:34:56 GMT
I need to be more dynamic. I need to be able to setthe session name and
domain based on the url.
On Sep 8, 2013 9:12 AM, "Michael-O" <1983-01-06@gmx.net> wrote:

> Am 2013-09-08 14:15, schrieb Marc Boorshtein:
>
>> I'm trying to figure out how I can create custom session cookies.  I've
>> found the Manager interface for creating the sessions, but there's nothing
>> about the actual session cookie.  I don't see anything in the Valve
>> interface that will let me do this either.  Is this possible in Tomcat 7
>> (or 8?).
>>
>
> What do you mean by custom? Change the cookie name? If yes, you can do so:
> http://tomcat.apache.org/**tomcat-8.0-doc/config/**
> systemprops.html#Sessions<http://tomcat.apache.org/tomcat-8.0-doc/config/systemprops.html#Sessions>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message