Java
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Java

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 3rd, 2008, 10:19 AM
Michael Binette
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Tracking IP address of logins

I have a requirement that I need to track what IP address the user logged in
from. Is there any hooks to the login process that I can use to get and
record this information in my own database?

I was thinking if no hooks exists that I would create a portlet that went on
the first page that would update this information. Setting it to only be
visible for logged in users should make it only get called after I know who
the user is. Using the session Id and the username combination would make
sure I only created the log entry once in my database.

How do I get the user's IP address and name from the portlets doView method?

--
Michael

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Java > Tracking IP address of logins


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway