Get A Visitors AD User Name In C#?
Jun 1, 2010If 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 RepliesIf 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 RepliesHow 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
I 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, How can I get the current visitors IP address?
View 3 RepliesI 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 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 RepliesHow to count the no. of visitors based on ip address using c# and mysql?
View 1 RepliesI m trying for counting Total No Visitors/Views(like in youtube) visits defalut.aspx.
But after trying a lot of codes i found it starts from 0 again when Application is closed.
I've set up a login control on a Login.aspx web page, which is authenticated using xml.
How do I stop people visiting my admin.aspx page when they are not logged in?
I need to display how many users are browsing my site. The site is running on iis7, and we are using asp.net 3.5.Is the number of active sessions a good way to go?The number does not need to be very accurate.No history is needed, I just want to know how many users are "online" right now, and display that on the page itself.
View 3 RepliesI am a newbie and trying to develop a Yellow-Pages like portal using ASP.NET MVC. I am wondering there will be some bad visitors who excessively request the portal pages to slow down my portal and to block request from other legitimate visitors. My current idea is put a nugget (an embedded code block) in master page to check the interval between two consecutive request. If the interval is less than 5 seconds (for example), I will reject/terminate to render the request.
My question:
What is the best way to handle this issue? If my idea above is applicable to solve this issue, what function must I call to terminate the rendering process (before doing resource-intensive job)?
EDIT 1:
Can we set this on server (IIS settings) globally instead of per application basis?
I want to show visitor count along with online users . How i do this?
View 1 RepliesHow to authenticate the visitors on my website using facebook authentication but when user logged on my website through facebook authentication at the same time visitors username, password and email must be registered with my database as well, so next time user can logged in through facebook authentication or through my website username and password as well.
View 1 Replies