Thursday, March 22, 2012

login machine detection ..

There are 3 machines A,B,C .. on every machine there is a login page login.aspx that welcomes the user.
After logging in the user sees A.aspx if he is on machine A, B.aspx if on machine B and so on.

how do i go about this .. the part i dunno is, how does one detect which pc the user has logged in from ...

thx in advance ...You can find the requestors IP address with Request.UserHostAddress.
Why create a seperate page for each user? That defeats one of the main strengths of dynamic web pages.

after they log in, did you try checking page.user.identity?

0 comments:

Post a Comment