cancel
Showing results for 
Search instead for 
Did you mean: 

Display user's Source IP/Client IP address as part of the logon process

andymwood_
New Contributor

Display user's Source IP/Client IP address as part of the logon process

Hi,

Is it possible to display the user's source/client ip address as part of the logon process? If so, how would you do it?

Thanks in advance

a.

5 REPLIES 5
Brian_
Contributor

Re: Display user's Source IP/Client IP address as part of the logon process

System>Configuration>Last Login Options at the bottom.
andymwood_
New Contributor

Re: Display user's Source IP/Client IP address as part of the logon process

On Configuration->Security?

Yes, that works for the standard bookmark page. My fault for not specifying a custom bookmark page - which is what I've got.

I see that thats possible - but wondered how I'd go about including the client IP address in a custom page? e.g Is it possible to include variables that are in the logs (e.g. remote-ip) in the custom pages?

tia.

Brian_
Contributor

Re: Display user's Source IP/Client IP address as part of the logon process

I'm not sure about incorporating it into custom pages; you can check out the Custom Sign-on Pages Solutions Guide, downloadable from the website, or open a case with JTAC.

drf_
Contributor

Re: Display user's Source IP/Client IP address as part of the logon process

You can use the Template Toolkit in the Custom Sign-In pages. The sign-in pages guide says that the USE directive is not supported but I found that it does work.

In your custom page add this code

<% USE CGI %>
<% CGI.remote_host() %>

andymwood_
New Contributor

Re: Display user's Source IP/Client IP address as part of the logon process

Ooo that looks very promising - sadly because I *did* read the manual when I tried the remote_host() call and it didnt' work I thought that was a feature.

I didn't try your method tho - I'll give it a whirl tomorrow - cheers