Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-30-2008, 12:52 PM
Member
 
Join Date: Jan 2008
Posts: 1
psandeep is on a distinguished road
How to track client logout time and orignal ipaddress (not gateway) in java
hi,

1) I want to capture the client logout time, when he closes the window in wrong way also i.e. "X" (window close).
I tried using javascript, "onunload", but some times working and sometimes not.
So, i want to try entirely in java only.

2) I want to capture the client original login system IP, not gateway IP, i am getting client ip if i use Sessions.
Using, java only i want to capture client Original Ip, where ever he login from.

very very urg...............
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-13-2008, 01:32 AM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 422
Nicholas Jordan is on a distinguished road
Getting the actual IP is not likely, one can record enough information about the transaction that logging and so on could be effective There are all manner of IP-V4 substitutions going on so that admnistrators can juggle all the equipment and traffic. Just ask the user for some simple information - the proverbial username and password are sufficient. If you have real troubles, coding at this skill level is just going to make you the target of much more skilled people.

I have heard of at least one discussion that there is no way to capture a system.exit() event. Ask your users to logout. If they won't, go back to Burger Barn and ask for your old job back till you find some decent people.

Last edited by Nicholas Jordan : 06-13-2008 at 02:33 AM. Reason: spelling - add coma for readbility
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gateway 4.6.1 JavaBean Java Announcements 0 03-14-2008 07:12 PM
logout using java script pankajagar2001 JavaServer Pages (JSP) and JSTL 1 01-03-2008 07:37 AM
Time and Date in Java java_fun2007 New To Java 4 11-06-2007 08:25 PM
Track download nilesh.malode Advanced Java 1 07-13-2007 10:44 PM
Part time java Programmer-Indianapolis,IN pegitha Jobs Offered 0 05-08-2007 05:01 PM


All times are GMT +3. The time now is 07:46 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org