Bookmark Topic Watch Topic
  • New Topic

Kyle!plz help!!  RSS feed

 
Bill tops
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
Dear Kyle!

I am trying to capture user session logout time
by setting session time outtime in my session bean properties (visual age) and websphere.For insering session exit time in my table ,I am writing jdbc connection code in ejb remove() method.i.e exit time is systime.I think ejb remove () method is called when user closes the webpage or browser.That close time i need.
when user (client)closes the browser or webpage
then i want to get the closing time.but i am not able to get that session close time.
Could any body please help me?
Thanks in advance
vijay
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Unless you provide the user with a means to explicitly log out (e.g. a Log out button or similar) then you're going to have a hard time capturing such information since closing the browser doesn't reflect session closure on the back-end.
Even then, some users will still not explicitly log out, and some will just let their sessions timeout.
Is there a specific reason why you'd want to capture this information?
Simon
 
Bill tops
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
Thanks for your reply.
I want to get the each page visted/access time for each user in our portal in particular session.So,I want to get the page exit time or atleast site/portal exit time .
I think whenever user closes his page /browser ,Then ejb remove() method will be called.if i wrote 'systime' in ejbremove() iwill get that closing time.but that is not working.
"Is there any way to find each page access time for each user in particular session."
please help me.
thanks in advance
vijay

Originally posted by Simon Brown:
Unless you provide the user with a means to explicitly log out (e.g. a Log out button or similar) then you're going to have a hard time capturing such information since closing the browser doesn't reflect session closure on the back-end.
Even then, some users will still not explicitly log out, and some will just let their sessions timeout.
Is there a specific reason why you'd want to capture this information?
Simon

[ July 22, 2002: Message edited by: Bill tops ]
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing this thread since the question has been reposted here...
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!