tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomcat Random <tomcat.ran...@gmail.com>
Subject Re: Expire Sesssion
Date Thu, 05 Dec 2013 20:29:03 GMT
Crystal,

At the risk of stating the obvious, you can also override the default
session timeout programmatically using HttpSession's method:

setMaxInactiveInterval(int interval)

-Alec


On Thu, Dec 5, 2013 at 2:27 PM, Crystal Maramba <cmaramba@acumenllc.com>wrote:

>
>
> -----Original Message-----
> From: Christopher Schultz [mailto:chris@christopherschultz.net]
> Sent: Thursday, December 05, 2013 10:36 AM
> To: Tomcat Users List
> Subject: Re: Expire Sesssion
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Crystal,
>
> On 12/5/13, 12:10 PM, Crystal Maramba wrote:
> >
> >
> > -----Original Message----- From: Igor Cicimov
> > [mailto:icicimov@gmail.com] Sent: Wednesday, December 04, 2013 6:54 PM
> > To: Tomcat Users List Subject: Re: Expire Sesssion
> >
> > On 05/12/2013 9:47 AM, "Crystal Maramba" <cmaramba@acumenllc.com>
> > wrote:
> >>
> >> Version: Apache Tomcat 7.0.42 Server: 2008r2 Standard
> >>
> >> How can I change the expired sessions in Tomcat Manager from 30
> >> minutes
> > to 480 minutes?
> >>
> >> I think you can do it through the web.xml file located in
> > \tomcat\conf\web.xml and then restart Tomcat.
> >>
> >> Is there a difference if I change it in the \tomcat\conf location
> >> versus
> > \tomcat\webapps\[web app name]\web-inf\web.xml location?
> >>
> > First one will apply to all apps.
> >
> >> If I change the web.xml file in the \tomcat\conf\web.xml location
> >> will it
> > override the web app location?
> >>
> > No.
> >>
> > Thanks for the response. Is there a way to do this through the Tomcat
> > manager without modifying tomcat web.xml config file?
>
> No. That could be added, but it would not persist across re-deployments or
> server restarts without some ... effort.
>
> - -chris
>
> Ok, thank you. Any idea on how you would do that? I don't see a save
> button anywhere.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.15 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJSoMejAAoJEBzwKT+lPKRYwXQP/2j1yljzh4Ce34M3LAyHh2Fy
> zR7nPMB4QrZCXKm2O9kncpd7b5nX86Y1IbRGCfTiihqTeI31yndEYR366FvSIova
> nuAevupVPPxhshYb9RiXQD3olI9sPFbef64ELZ933S+u/k9kC9/fc6er4h5DRjdx
> 0MwxF3dJIAH5BG0HbcloENLT/2se3OG6j1ut28QisiLTaGmG5E/4b14F1GgMcQUy
> DtlwmGcO3YWW0rjGBfBoTQwtuzMCpzoalgt6FiXPbaLXOkum1thrX7nUOGizpWq0
> Ez4+nQwGJDn5jhnQKvedzEblnUc5Hnzv+srp1bXbf3h5f8vB2z+NIiLLFBb17dld
> j5M2CQoZwj0T13Re8Q9T6EwLIg87Mi6ROExlORXaZr59dLnFB87izYVAsgOIhs/W
> oI+JpkDuNakZCf4Zpcu3qkZFRYG9Ulqy23t1KS40qWYDeDoCHqaK3sk2nWxadVd5
> gc1IWK5al8IIc/gYMYH8JOvE3mb65fFcIVcnGaf7LeWwGehf7FUe27nf1j5mTvOn
> VfmmqnWPdj2FptCOx0rXE+CRBQFbcwycADkqWHRZajJ725zHy/P8g2+FeF4cf7Fq
> CAZ2bjPujcJBHo7dl73y3fUcVSfoXkwiShZB+SgakZ3f8zHYLPkngI1+HKfq9m3K
> j6mK3IzLN8hHNsVwR7ZT
> =kpwU
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 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