How to create custom session and cookie?
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?). Thanks Marc
Re: How to create custom session and cookie?
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 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to create custom session and cookie?
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...@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#Sessionshttp://tomcat.apache.org/tomcat-8.0-doc/config/systemprops.html#Sessions --**--**- To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.orgusers-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AUTO: Uri Shani/Haifa/IBM is out of office, w/no business email. (returning 12/09/2013)
I am out of the office until 12/09/2013. For technical questions per DANSE/SPRINT email to Ariel Landau ar...@il.ibm.com Travel phone: +972-3-633-4719 Note: This is an automated response to your message How to create custom session and cookie? sent on 08/09/2013 14:15:01. This is the only notification you will receive while this person is away. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to create custom session and cookie?
Am 2013-09-08 16:34, schrieb Marc Boorshtein: 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...@gmx.net wrote: 1. Do *not* top-post! 2. Session name? You obviously mean session /cookie/ name. Make it clear. 3. The domain/URL is done by the container. If need to modify the create cookie source, you should search the search code for and start with that. Michael - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to create custom session and cookie?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marc, On 9/8/13 10:34 AM, Marc Boorshtein wrote: On Sep 8, 2013 9:12 AM, Michael-O 1983-01...@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#Sessionshttp://tomcat.apache.org/tomcat-8.0-doc/config/systemprops.html#Sessions I need to be more dynamic. I need to be able to setthe session name and domain based on the url. Tomcat allows you to set the cookie name already, and the domain and path depend upon the domain and path used by the webapp. Perhaps it would be better to describe what Tomcat does *not* do that you need it to do instead? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSLPZMAAoJEBzwKT+lPKRYwFcQAIT2H7/EvbIGz1K04OKQXbLn /SHD9+au/p3a1Movk0Zci8Y7YLggNRcgdnbFHVTMuLw2f/5EqfABXmQdAjkq1zIi K4Fj3Aw27a/jrXQvn+hP14ee8wRoc+1pc6wFmEK3HhotilNUG+d1oQCDqka0ZuPn hr/GFVIaX8/TG/AiQHTaXmTvhbvLSeEpwQ1hGgfJ0bsaKpldOmbxBQ45/RyF5r0w sk4R4T3ljKhYEdvffb+LloV3pt/81oW0NNMeW4W/U73Y3uObf+Ph4NAk26cVGCvU lJJaXc8g7wVlpcXFHjZZoMtNcRmDGWt3FA6mikwIxdyIgJS8TvwwxcSMCAU8nMY1 XCxwA6gFiU8DhWrKNi6hluPC6we0aeE9YcpcGSkq1rossZ8RDGJUKe751+gSq/wW Zd/Esgx2kXgzT57rTOtySIpO4q0iCZsTPMPpZkBUuBxvnbAzinOBEPY4WjtnIbZJ jBGqgoy/ph3LO52mItQ9RvrqKnQnulVx3hpKLu6RGOxdY7cJ/VOz/mLRBSlv6z6C smIc4+/W0esN7UeeSeURz6Qk7upUsoZTak5Hc523M2hHXwWpTqVoWsC7GcCRaruU M6MqfpUUtT5qHCFZafXCWuQtuTWGQvGSOT9QZq6fPZRA4sSgU6/vDFU+hOdaRRI1 +0k1t976VzOBdzPGxS5t =/KVV -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Deploying war from dependency with tomcat7-maven-plugin
Hello all, I'm trying to use the tomcat7-maven-plugin, specifically running the *mvn tomcat7:run* command. However, in my case I have two requirements that are different than the documentation provides for and I'm wondering if it is possible with the current tomcat7-maven-plugin. 1. need to deploy several jars to the global tomcat classpath (i.e. same as copying them into tomcat.home/lib/ext/ folder in a standalone install). 2. need to deploy a war to the ROOT context but instead of packaging the current project from source, I just need to point to an existing WAR as a dependency. So in my project there will be no webapp source. I simply want to run a tomcat with some extra jars in /lib/ext/ directory and also deploy a war that is obtained via a dependency with war type instead of packaged from source. Thanks in advance for any help! -- Greg Amerson Liferay Developer Tools Liferay, Inc. www.liferay.com