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.
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.
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.
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() %>
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