A fine is a tax for doing wrong. A tax is a fine for doing well.
__________________________________________________
Please remember to click “Mark as Answer” on the post that helps you.
Rainbow has a log module. You can find this on the portal by going on the Admin menu and clicking on logs and then Monitoring and Logs. This will show you IP info and you can get the functionality from DesktopModules\Monitoring.
I'm still not clear what you mean. I don't have admin rights to the web server. I only have rights to my own little web space. So I'm not sure what you mean by admin menu or DesktopModules\Monitorings.
When you login to rainbow, you see the admin menu correct? Off of the admin menu is a logs tab, off the logs tab is monitoring. I dont mean admin to the server; I mean admin to your portal.
J-sun Bailey
Member
115 Points
23 Posts
Get users IP address
Jun 11, 2005 03:06 PM|LINK
Can someone please provide some light on how I might accomplish this?
jbowen
Member
10 Points
2 Posts
Re: Get users IP address
Jun 16, 2005 12:15 PM|LINK
You may be able accomplish what you want using the Request.Servervariables("REMOTE_ADDR") header.
These may help:
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=577
http://www.w3schools.com/asp/coll_servervariables.asp
vik20000in
All-Star
25882 Points
3993 Posts
MVP
Re: Get users IP address
Aug 19, 2006 05:27 PM|LINK
http://www.vikramlakhotia.com/Post.aspx?postID=12
www.vikramlakhotia.com
Please mark the answer if it helped you
etariq
Contributor
2823 Points
514 Posts
Re: Get users IP address
Oct 30, 2006 07:41 AM|LINK
HttpContext.Current.Request.UserHostAddress;
or
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
To get the IP address of the machine and not the proxy use the following code
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
Get users IP address
__________________________________________________
Please remember to click “Mark as Answer” on the post that helps you.
mychucky
Contributor
4358 Points
3709 Posts
Re: Get users IP address
Jul 10, 2007 05:00 PM|LINK
I tried that and it didn't work. No IP address is showing.
eramseur
Contributor
3702 Points
752 Posts
Re: Get users IP address
Jul 13, 2007 01:33 PM|LINK
Take a look at the log module as it shows IP information. You can just copy that functionality.
Rainbow Portal 2.0 Admin
Download Rainbow 2.0!!
Rainbow Code
Rainbow Portal Community
C# 2005 Group
mychucky
Contributor
4358 Points
3709 Posts
Re: Get users IP address
Jul 13, 2007 01:54 PM|LINK
Not sure what you mean by log module. Where do I look for and what do I need to copy?
eramseur
Contributor
3702 Points
752 Posts
Re: Get users IP address
Jul 13, 2007 02:18 PM|LINK
Rainbow has a log module. You can find this on the portal by going on the Admin menu and clicking on logs and then Monitoring and Logs. This will show you IP info and you can get the functionality from DesktopModules\Monitoring.
Rainbow Portal 2.0 Admin
Download Rainbow 2.0!!
Rainbow Code
Rainbow Portal Community
C# 2005 Group
mychucky
Contributor
4358 Points
3709 Posts
Re: Get users IP address
Jul 13, 2007 02:25 PM|LINK
I'm still not clear what you mean. I don't have admin rights to the web server. I only have rights to my own little web space. So I'm not sure what you mean by admin menu or DesktopModules\Monitorings.
eramseur
Contributor
3702 Points
752 Posts
Re: Get users IP address
Jul 13, 2007 02:29 PM|LINK
When you login to rainbow, you see the admin menu correct? Off of the admin menu is a logs tab, off the logs tab is monitoring. I dont mean admin to the server; I mean admin to your portal.
Rainbow Portal 2.0 Admin
Download Rainbow 2.0!!
Rainbow Code
Rainbow Portal Community
C# 2005 Group