Re: Having variable session timeouts

2009-04-06 Thread Siddhartha Purkayastha
Looks like this should solve my problem -
HttpSession.setMaxInactiveInterval() ?

Are there any implications of using this method?

2009/4/6 Siddhartha Purkayastha 

> Hello All -
>
> How is it possible to implement variable session timeouts?
> My use case is: for a set of users with certain properties (which in turn
> will be stored in the session, say x = 10), I want to have a time out of 30
> mins. For others (say with property x = 15), I want to have a timeout of 1
> hr.
>
> Is it possible to achieve such a configuration?
>
> Thanks,
> Siddhartha
>


Having variable session timeouts

2009-04-06 Thread Siddhartha Purkayastha
Hello All -

How is it possible to implement variable session timeouts?
My use case is: for a set of users with certain properties (which in turn
will be stored in the session, say x = 10), I want to have a time out of 30
mins. For others (say with property x = 15), I want to have a timeout of 1
hr.

Is it possible to achieve such a configuration?

Thanks,
Siddhartha


Re: ssl_error_handshake_failure_alert

2009-02-17 Thread Siddhartha Purkayastha
It looks as if tomcat is configured for 2-way SSL. So the client (browser)
should have a certificate that the server can trust.
I think you could try to install a certificate from a good CA in your
browser truststore, and try using that.

I wonder if the other apps are running because tomcat selectively allows
apps to be 2 way ssl configured - I am not sure of this.

2009/2/17 gmail_ber 

>
> Hi all
> A colleague has set up a web app via https using tomcat on a server that I
> have access to.  When I try to access the web app via a browser (Firefox 3)
> from my own PC or from a browser (IE) on the server running the web app, I
> get an "ssl_error_handshake_failure_alert" error.
>
> Something else to note: I can access other web apps running on that same
> Tomcat on that same server (via https), but I just cannot access the one my
> colleage added.  He's on a week's leave as of today and I really need to
> access this web app!
>
> My question: how can i get the needed certificate to access this web app
> from my PC (bearing in mind that I have access to the server running Tomcat
> and the web app).  Can I check somewhere in the Tomcat conf directory or
> the
> webapp's directory for security settings or can I somehow export the
> certificate from the server and import it on my own PC?
>
> Thanks in advance.
>
> --
> View this message in context:
> http://www.nabble.com/ssl_error_handshake_failure_alert-tp22053887p22053887.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>