#1. To set a timeout in Jetspeed I use an entry (in minutes) at the end of my web.xml file:
<session-config>
<session-timeout>
120
</session-timeout>
</session-config>


#2. To prevent a user from browsing the certain folders, you could just put an index.html file in each folder that you want to prevent browsing in, and have it redirect the user to the login page or something like that.

Thanks
Brian

Mike ERRECART wrote:

(english is not my native language, so i'll try to do my best)

Hi everybody.

While trying to tune my quite "production ready" portal (to be
discussed...), i am facing 2 problems (which at first glance seemed trivial
to me...) :

- I'm trying to change the timeout value for Jetspeed, and did not manage to
do it... I changed which seemed to be the right parameter in TR.PR :
# This is the timeout in seconds for sessions. If left commented out, the
# servlet container's default timeout will be left as is.
session.timeout=3600

but this didn't work...
I don't want to change Tomcat's timeout value.  Did someone successfully
adjust this timeout value at Jetspeed's level ?

- the second problem seemed trivial too... I'm trying to prevent a user to
browse a directory (for some reason, Tomcat has to serve static content,
mostly images...). I'd like to achieve that without having to configure
Apache for static content. Is it possible ? (didn't find anything about
that, except some discussion about "StaticInterceptor", but no solutions nor
clues...).

Thanks a lot in advance.

Mike from France.

my config : Jetspeed 1.4b1, Tomcat 4.1.*




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to