I just checked in the code for the new service. Right now, it is very
basic.
To use it, you will need to configure the listener. Here is an example
web.xml file with the listener configured:
<web-app>
<display-name>blah</display-name>
<listener>
<listener-class>org.apache.turbine.services.session.SessionListener</lis
tener-class>
</listener>
<servlet>
<servlet-name>blah</servlet-name>
<servlet-class>org.apache.turbine.Turbine</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
</init-param>
</servlet>
</web-app>
You will also need to uncomment the services line that I added to
TR.props to enable the service.
BTW - This added a dependency on servletapi-2.3. It is already in the
ibiblio repository though....
> -----Original Message-----
> From: Quinton McCombs [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 05, 2003 1:05 PM
> To: 'Turbine Developers List'
> Subject: RE: New SessionService....
>
>
> I have already solved the problem. I have the service
> written, I will get it checked in today. I just need to
> refactor it into the org.apache.turbine package structure....
>
> > -----Original Message-----
> > From: Dave Everson [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, January 05, 2003 12:28 PM
> > To: Turbine Developers List
> > Subject: Re: New SessionService....
> >
> >
> > Hi Quinton,
> >
> > We just started talking about adding this functionality to
> > our website so that the admins can check to see if anyone is
> > logged in before doing maintenance or restarts. Do you have
> > any code or advise that you could share so that we don't have
> > to reinvent the same wheel if you have already solved this
> > requirement.
> >
> > Thanks,
> > Dave
> >
> > ----- Original Message -----
> > From: "Quinton McCombs" <[EMAIL PROTECTED]>
> > To: "Turbine Developers List" <[EMAIL PROTECTED]>
> > Sent: Friday, January 03, 2003 10:43 AM
> > Subject: New SessionService....
> >
> >
> > I just posted a proposal for a new service to the Wiki...
> >
> http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTurbine2/S
essionServ
ice
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>