Welcome to WebmasterWorld Guest from 54.162.141.212

Forum Moderators: open

Message Too Old, No Replies

Unique identification on LAN connection

     
9:40 am on Nov 11, 2013 (gmt 0)



Hi Gurus,

I would like to capture an unique id from each user presented in a LAN connection.

I know that We could capture the IP address of each user, but the ip addresses seem to be identical for all users presented in a LAN connection.

Is there any java script code or any way in order to capture unique id from such users?

Thanks in advance!
2:32 pm on Nov 11, 2013 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



The session id from your server side code will be unique and typically gets stored in a cookie. Is your server using PHP? ASP.Net?
12:52 am on Nov 12, 2013 (gmt 0)

WebmasterWorld Senior Member Top Contributors Of The Month



I don't know of a way to get the info in JS, but in PHP [or another server-side lang. you can get request headers with] you can sometimes find the LAN address in an X-FORWARDED-FOR header, depending on the LAN settings.
3:31 am on Nov 12, 2013 (gmt 0)



Thanks a lot for your reply!

@Fotiman -- Our server is using ASP.Net
2:18 pm on Nov 12, 2013 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



For ASP.Net, you should be able to get the session id from the "Asp_net.sessionid" cookie.
3:12 am on Nov 13, 2013 (gmt 0)



Yes, I got it. Thanks Fotiman :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month