Search for:
Sign in
Register
Menu
Articles
Questions & Answers
Download
Documentation
Support
Marketplace
Old Forums
Search:
Search text
Portal Engine
Questions on portal engine and web parts.
Version 5.x
>
Portal Engine
>
Request ServerVariable
View modes:
View mode
Threaded
Flat - newest to oldest
Flat - oldest to newest
Member
merete-grape
-
3/20/2012 7:50:45 AM
Request ServerVariable
I want my page to write out users IP-address and more.....
What can I do to get these 2 lines working on my page:
IP: <%= (request.servervariables("remote_addr")) %>
HOST: <%=(Request.ServerVariables("HTTP_HOST"))%>
Kentico Support
kentico_janh
-
3/20/2012 8:33:52 AM
RE:Request ServerVariable
Hello,
You can just use the
Static text
web part and you can fill its
Text
property with following text and context macros:
IP: {%ip%}
HOST: {%domain%}
Best regards,
Jan Hermann
Member
merete-grape
-
3/23/2012 4:33:20 AM
RE:Request ServerVariable
Thx a lot :)
Top