.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

how to detect the IP position of my website user ?

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :ASP.Net

Hello all , 

how to detect the IP position of my website user ?

thanks in advance 

View Complete Post

More Related Resource Links

Creating a user friendly alias for the website path


 Hello mates,

I am hosting my ASP.NET application on a Windows 2003 Server.

To browse to my application one has to type the path :http://serverName/applicationName

I want users to only type  applicationName on the web adress area.I believe there is something to do with alias and CNAME on DNS records that can adress this.

Any help on how to go about doing this will be highly appreciated.

How Restrict and Allow user to Pages of Website.


i have 4 pages of website

2 pages are authorized to used by USER and 2 pages are restricted for user

admin can authorized to go all 4 pages


i need coding for Login window from which Admin/User Login



Can I have an SQL Express database open in VS2010E along with the website? "Login failed for user ..

Hi, as the topic says..Whenever I have my database open in Visual Studio 2010 Express, I get this error:Cannot open user default database. Login failed.Login failed for user 'IIS APPPOOL\DefaultAppPool'.Cannot open user default database. Login failed.Login failed for user 'IIS APPPOOL\DefaultAppPool'.

I need a static music player on my website that continues to play music when the user navigates to d

I'm not sure if this is the right area, but I'm needing to have a music player on my website that stays static when the user navigates through my site, and continues to play without interruption.  Currently I have a Flash player that works great, but obviously it stops playing when the user goes to a different area of the site.  Make sense??  Thanks in advance!!

logging out users when user opens website in two browsers or two tabs of same browser.



We have the implement the following scenario in our application:

  1. We use windows authentication. User opens our website in tab1 and does some action but with out clicking on save he opens a new tab tab2 and opens the same website again.
  2. Now, if the user session in tab1 is active i need to warn users that the he is already logged on to application in some other browser and go to some log out page. But if the user session in tab1 is timed out then he must be able to continue with the website in tab2 as usual, but if he tries to do anything in tab1 he should go to session expired page.

I tried implementing it in following way.

  1. I have a hidden field in each page which will be set to unique Id using GUID.NewID().
  2. when user requests for a page the following code is executed.
  3. if (Request.Headers["Cookie"] == null)
                    //this means user is requesting hte page for first time.
                    //Generate a new GUID store it in session and also in the hidden variable on page.
                    Session["DefaultPage"] = Guid.NewGuid().ToString();
                    ((TextBox)page.FindControl("hiddenGUID")).Text = Session["DefaultPage"].ToString();
                else if (Reque

question about multi user website and security



i am developing a multi-user website using Dynamic Data and wondered if someone could answer the following or provide advice:

what is the best way of protecting data so someone (who has a login to the site) cannot see records intended ONLY to be viewable by another valid user?

as far as i can see a user can simply tamper with querystring or url values (if using routing) and bring up the details of records they should not.


any help qould be gratefully appreciated. i am drawing a blank so far and the easiest option may be to back to a traditional asp.net site where i can control things simply by use of a Session variable (UserID)



how to get user name in window login and show in our website


if any one login how to get user name and show in our web page

and how to get location of client side (Physically Ex-India -Delhi-Anand Vihar)

Getting user id - Website project


I there a way to get the user id that they signed on to the computer with from web site project, without changing IIS so they will have to login?  This will be interanet and remote internate users.

one user open a website (one computer and not another computer) on same time


how to restrict web site one time login(1101) at same time nobody used  this id (1101)

detect the user device


How can I detect if the user is getting into my application from a PC or a Device (a Celular, BlackBerry or Other), because I need to create an .aspx form for a PC and other for a Movil Device. 

Silverlight user controls on a projectless website



I'd like to know how (and if) I can integrate silverlight generated user controls in a non-silverlight projectless website (built in ASP.NET 4.0)

also, How can I access a dataset that is edited on a silverlight gridview control?

Thanks a lot!


How to detect user's screen resolution


Hello all,

I am using a asp:Label control and I need to set it to visible if the screen resolution of the user is nore then 1000 pixels.

How do I do that?


Manage user account for asp.net website adminstration tools(Urgent)


ANyone knows anything about the asp.net website adminstration tools? 

Error in creating User through ASP.net website administration tool


i am creating some users and assign them different roles through website administration tool but when i am going to create new user all time validation control display same error and user could not created


Password length minimum: 7. Non-alphanumeric characters required: 1.

auto signout when user leaves website


is there a way to set code that automatically signs out the logged in user if they are redirected away from any file or directory under the main url?

Edit Item takes user to their personal website


I have created a custom edit form for a custom list.  Initially I noticed there was no Edit Link on the Display Form.  I checked the List properties in Sharepoint Designer and noticed that there was no entry in the default edit form.  I set the default for the correct content type (Item).  While the Edit link is now appearing on the Display form, when a user selects the Edit Item from the drop down menu on any view, the user is taken to a completely different page and not the Edit form as expected.

I am using Sharepoint Server 2007 with Sharepoint Designer 2007.

Thanks in advance


Using workflow to redirect a user to a certain website?


Is it possible to use workflow to redirect a browser to a specific website after a list item is submitted? 

If so, can someone please point me in the correct direction in setting this up?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend