Get The Current Visitors IP Address?
Apr 12, 2010i, How can I get the current visitors IP address?
View 3 Repliesi, How can I get the current visitors IP address?
View 3 RepliesHow to count the no. of visitors based on ip address using c# and mysql?
View 1 RepliesI am trying to pull entries from a database based on the current users IP Address. Here is what I have so far:
[Code]....
I am receiving the following error: Cannot find either column "Request" or the user-defined function or aggregate "Request.UserHostAddress.ToString", or the name is ambiguous.
Is it possible to do this? Should I try to access this information another way?
Suppose I have a resource located in ~/Resources/R1.png This resource's relative URL will vary depending on the current address.
For instance: If I'm at www.foo.com/A/B/C/D.aspx and the www.foo.com/A is the root path including Virtual Directory, then the path relative to the current address of ~/Resources/R1.png is ../../../Resources/R1.png
How can I get this relative path?
EDIT:
I want a web path that I can use in a web page, not a server path.
I'd like to do this in the Application_Start method, so I can write a 'robots.txt' file if the site is running on a test server.
View 2 RepliesHow to retrieve the current authenticated logged in user's email address who is accessing the page.
I have managed to do it with users. How to get the current authenticated user's email address if that makes sense.
Here is my aspx code:
[Code]....
and my VB script:
[Code]....
Somebody suggested that I should run a query. If you know the user name accessing the page, surely you can take that information, insert it into a query to find out the email address of the user accessing the page. Sounds great but don't have a clue how to do it.
How to add code to know visitors count and online visitors count ?
is there a good control or code ?
I use ASP.Net, C#.Net ad SQL Server
If I have a basic web form for our company's intranet and all users are logged in to the domain via AD authentication, can I extract a visitors user name in c#?
View 2 RepliesI need on my website to track for a particular page who has visited the page and actually click on it.
Is there a way to know that information as much as complete as possible ?
I have stored resumes in my database and i have retrive it from asp.net web page by creating linkbutton...i can view ,download the resumes which i stored in my database.My issuse is when i view one resume example (domnic resume)then no of visitor for domnic resume should be count .if again i view that resume no of visitor should be 2...how can i do that in asp.net?
View 3 RepliesI have managed to expose the MEX endpoint of my WCF service and I can access it with the address like [URL] (example) and get the WDSL. So no problem there.
However, my WCF test page shows the address wrongly by using the server's name instead of the DNS name. And if I click on the link on the test page it won't work (can't get WSDL).
The WCF test page looks like this:
MyService Service
You have created a service.
To test this service, you will need to create a client and use it to call the service.
[URL]
The WCF service is hosted in IIS6. I would like to have a test page with the correct WSDL address so users can see the WSDL quickly in the browser just by clicking on the WSDL address.
In short: How can I change the MyServerName to inter.mycompany.com on the WCF test page? Can this be specified somewhere in the Web.config?
I am interesting on log down the recent 100 visitors around the world whom have visited to my website and display their country information and IP address on the website developed by Silverlight platform.
Where can I get accurate data for detecting the visitors' IP address and geo-location information?
I want to realize the following with AJAX and .NET, but I don't know the best way to do it.Person A comes to the website, clicks a button 'I want to chat'. Then Person B comes and he should see a list where he can choose 'chat with A'.I have two questions:- What is the best way to address B's message to A? After B has sent his message to the server, how does the message get to A?- Is it possible to invoke a "update-chat" function for A when a message for him arrives? (Of course, A's browser could ask the server 'do you have a message for me?' every second, but this seems not a good solution.
View 5 RepliesWe are looking to create a website that displays information to all new visitors to a site, i.e. welcome,The big problem is that our website is not allowed to use long-lasting cookies (i.e. over 20 minutes). Does anybody know of any way we can determine whether a user has visited the site before or not. As another restriction, we can not add anyform of registration to the system. The application is being created in ASP.Net 3.5.
View 6 RepliesI just created a download counter on my website that increments when a download link is clicked. It also records the times of the downloads in a database. Along with that I was wondering if I could gather some general information about location of the visitor to my website that clicked the download link. Is there a way to do that? Maybe you're not supposed to try to get overly specific data because that would be a sort of invasion of privacy but if I could collect something that would tell me an approximate location of the visitor to my website that clicked the download link that would be nice if that can be gotten without too much trouble.
View 7 RepliesIs it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how?
View 1 Repliesi want to do the online purchase option with my web application. i dont know how to do that, because if we miss single dollar then that will be the serious issue for us, so please explain me how to transfer the visitors amount to my client account.
View 5 RepliesI have my SqlServer 2005 database at a web host. I recently figured out how to set permissions for the stored procedures (see this link if you face the same problem:
[URL]
Now I wonder: What permissions should I give the website's visitors?
In a stored procedure's Properties window, I have three availabale users, the db owner (the db name), "guest" and "public". My bet is on public.
As far as permission types go, I hev the following available:
Alter, Control, Execute, Take Ownership, and View Definition. My guess is that the one of interest is Execute, correct?
In other words, should I set all stored procedures to Execute for public (not that I seem to have the permission to do that myself - I get an error message when I try to alter them)? If so, could I ask the web host to set them globally for me? Or should I only set stored procedure using UPDATE/INSERT/DELETE to Execute?
I need to show the number of online visitors and all visitors in my website. I use below code in global.asax file. But I thinks it is not a right way because I have seen false result for online visitors in my website.
Codes:
void Session_Start(object sender, EventArgs e)
{
Application.Lock();
Application["OnlineUsers"] = (int)Application["OnlineUsers"] + 1;
Application.UnLock();
System.Data.SqlClient.SqlConnection cn = new
[Code]....
I want to track my gps locations using my iphone into a database.I've found several instructions on how to catch the clients location using e.g. google map api.But how can I catch those 'long' and 'lat' values for storing into db?Does anyone know a beginner friendly tutorial about 'Get and catch mobile client location'
View 1 RepliesHow could i get the total number of visitors of my website?
View 3 Replieshow do i count my site visitors in a day and a month?
View 5 RepliesHow can I allow my website visitors to create text files in ASP.NET?
View 2 RepliesI have a scenerio like i have a website where by visitors comes in like you have aspforum.net. I want following:
1. when user visit on my site a cookie or script generate on the user machine
2. then if user is searching for shoes, books, or any thing that data should come on my server database so i can trace what is user behavior and likes and dislike.
How can i achieve it...
How to use the session and application variable in our website? And if we want to count the visitors of our website then how it will possible.
View 1 Replies