David,

The jetspeed version iam using is 2.2.0 and "create new session on login" is
already set to true. May be it is true from 2.2.0 or the person who worked
on our server earlier might have made made it to true.

Srini.

David Taylor-23 wrote:
> 
> On Wed, Nov 17, 2010 at 3:06 PM, SriniPitta <[email protected]>
> wrote:
>>
>> Hi,
>>
>> I would like to insert a new entry in database capturing the session and
>> user details upon each time the user login into portal and logout the
>> portal.
>>
>> I have written a listener class and extended HttpSessionListener and
>> overrided sessionCreated() and sessionDestroyed() methods and added below
>> entry in my web.xml. But it does not invoke my listener during user login
>> or
>> logout. Can you please let me know the correct way of implementing.
>>
> 
> What version of Jetspeed? I believe the "create new session on login"
> was set to false in previous releases:
> 
>  <bean
> id='org.apache.jetspeed.administration.PortalAuthenticationConfiguration'
>    
> class='org.apache.jetspeed.administration.PortalAuthenticationConfigurationImpl'>
>     <meta key="j2:cat" value="default" />
> 
>     <!--  create new session upon authentication -->
>     <constructor-arg index='0'>
>       <value>true</value>
>     </constructor-arg>
> 
> In the current release its set to true. See the Spring configuration
> file "administration.xml"
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/session-listener-not-working-tp30239157p30282783.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to