How To Uniquely Identify The Client Machine In Application

Jan 5, 2011

I have a server application that runs in a hosted environment but creates print jobs in the client's local network (behind NAT; the mechanics of this is not relevant).

In order to send the print job to the printer that is attached to the workstation, I need to identify the workstation. The users move around between workstations, so I can't permanently associate a user with a workstation/printer. The trivial solution is to require the user to identify the machine he is logging in from, for instance by selecting from a list, but that's an inconvenience and subject to user error.

Options I have eliminated:

Host header variables (nothing identifiable is sent) Cookies, in support of a user selection. This somewhat addresses the potential for user error, but not really. HTML5 DOM Storage - is not supported by the client's browser

Edit: I do have the option of puttnig this particular function (create a print job) into a thick client app. The app can then of course be configured and the problem goes away. But the user experience will suffer from having to switch between the browser and a Windows app.

View 2 Replies


Similar Messages:

C# - How To Identify Whether The Client Machine Supports PDF File Format

Jul 7, 2010

My requirment is to show a dynamically created pdf file directly to my web page. It works fine for the system which is having pdf reader software. But for the system which does not have the pdf software it is showing error like below

The XML page cannot be displayed Cannot view XML input using style sheet. correct the error and then click the Refresh button, or try again later.

An invalid character was found in text content. Error processing resource 'http://localhost:4252/OmanePost/Customer/EBox/PD... I need to handle this situation bit differently.i.e In this situation the file should be save to the physical location of the system for that i need to identify whether the client machine has pdf software or not then i can manage properly

I m using ASP.NET 2.0 version

View 5 Replies

C# - Uniquely Identify Every Page In My App?

Jul 1, 2010

I have an ASP.Net app with a lot of pages in it.My problem is to uniquely identify every page in my app. now the app might have pages with just the page name eg: home.aspx and can have pages with query strings eg:testPage.aspx?q1=1&q2=2.what i have been thinking is since every URL in my app is unique I could use the page name + all query string params concatenated(key and value) to identify the page uniquely.eg:home.asp home testPage.aspx?q1=1&q2=2 -> testpageq11q22.Is this the correct way to go or is there a better way to do it.The reason I want to do this is I need to add at run time some meta data information from a database for each of the pages.The PageID then becomes my unique ID which I can then map all my meta data info in the db to.

[code]...

would potentially point to the same page (where the optional param gives me some kind of meta information thats is not being used to generate the content on the page)

View 4 Replies

SQL Server :: How To Identify Ip Address Uniquely With One Entry At A Time

Mar 26, 2011

As working with ip address in Sql Server needs some Efforts than mysql b'cos it Doesn't has INET_ATON() functionality. even though we create a Function to do that. But as per Requirement if ip address and postid should be Unique with One Post Question. than its some more complex to implement. so i need a solution without compromising my Disk space, 4 Tiny int field for ip address can be used but comparison will be more Hard to achieve. b'cos it is a composite primary key.

View 2 Replies

C# - Uniquely Identify Two Instances Of One Browser That Share Session State?

Mar 14, 2010

I want to ensure a user isn't editing the same form data in two different browser tabs or windows (of the same web browser instance). The intention is to stop the user from accidentally overwriting their own data as they continue through a very long form process. On the server, ongoing data input through the screens is collected into the Session.

Assume for any browser, all tabs and windows run in the same instance of it (i.e. not each in a separate process). Obviously the browser tabs and windows share the same cookies in this scenario so cookie modification seems out of the question for viable solutions. This is also the reason they are sharing the same session state.

Considering that the form is already created and this is one of the final touches, how can I use ASP.NET, hopefully easily, to oversee this "feature"?

View 5 Replies

Invoke Exe Available In Client Machine In A Web Application

Dec 7, 2010

I am using c# and ASP.NET 2.0.

How to invoke exe, which is available in the client machine?

View 4 Replies

Web Forms :: How To Create A File On Client Machine From A Web Application

Nov 30, 2010

I have a web application which is supposed to create a file on clients local mcahine as the user is not having permissions to create a file on the server on which the web application is running.Can anyone please help me with this.I came across some posts stating that it is not a security measure to create a file on clients machine, but in my case I am left with no options.

View 1 Replies

State Management :: Set Cookies To Identify That Machine?

Sep 20, 2010

I tried to set a Cookies by Response.Chookies("chookie1") into a user's machine and found difficult to get the Cookies by Request.Chookies("chookie1"). I think that is because the person used various cs(User-Agent) (browser names?). Here are some of them:

Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1)
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+InfoPath.1

In such case, how can I set Cookies to identify that machine?

View 10 Replies

How To Identify Specific Client Over The Network By Server

Aug 4, 2010

how do i implement the following scenario in ASP.Net

I have scenario like the following.

for example:

1) Client 1 -> server (send request) ; Server -> Client 1 (send response).
2) Client 2 -> server (send request) ; Server -> Client 2 (send response).
n) Client n -> server (send request) ; Server -> Client n (send response).

now i want the server to update the client x with out getting the another request from that client x.

View 4 Replies

Response.Cookie Client Or Server/where Does The Cookie Saved? On Client Machine Or Server Machine?

Mar 7, 2011

When calling Response.Cookie.Add(new HttpCookie("MyCookie", "objValue")); where does the cookie saved? on Client Machine or Server Machine?

EDIT:if saved in Client Machine, how can I read it from javascript then? I tried this kind of script.

function getCookie(c_name) {
var i, x, y, ARRcookies = document.cookie.split(";");
for (i = 0; i < ARRcookies.length; i++) {
[code].....

I cannot get the cookie that I saved from code behind. When I look into the document.cookie object, it is just an empty string.

Scenario:On Page_Init() on code behind. I create a cookie using Response.Cookie.Add(new HttpCookie("MyCookie", "cookieValue"));.
On Client side, I'm trying to read the cookie saved from code behind on page load using the snippet above, but it returns undefined

View 3 Replies

Iis - Identify An Iisreset In Web Application?

Dec 27, 2010

I've got an application that needs to do some work on startup (before the first request is in). I've added the initialization code in the global.asax file (Application_start method) but this code doesn't seem to be hit after an iis reset is performed.Is there an event which is triggered in an asp.net application when an iis reset has occurred?

View 2 Replies

Identify Computer And Where It Belongs In Web Application / Website

Jun 29, 2010

simple explanation like:- four blocks all connected to one server hosting a website using iis 5 c# i want if user from block a accesses the home page the page says block A user how are you, same goes for all blocks so how to identify from where the request is coming from in this simple scenerio

View 1 Replies

C# - Identify From HttpContext Object That Requesting Application Or Browser Is Cookieless?

Dec 30, 2010

How can i identify just from the HttpContext Object that the HttpRequest coming to my application is from a cookieless application or cookieless browser?

View 2 Replies

Want To Make Sure That Can Log Onto Client's Machine?

Jun 30, 2010

I'm looking into a ASP.Net project for a friend who has a client at the moment. I just want to make sure that I can log onto her client's machine where they host their site, I'm working from home and not on their domain.

If I can't log in using the account info they gave me, is it possible that they can limit FTP access from outside IPs? Just a question in case I have a problem then I can suggest a solution. "Hey friend, I tried to log in, but the service denied me probably because your client has to include from my outside IP. My IP address is ....." or something like that.

View 3 Replies

How To Run .exe File On Client Machine

Mar 4, 2011

I want to run .exe files on client machine.

System.Diagnostics.Process.Start("C:Windowssystem32otepad.exe") i Use this codeing it work on my system but not work on server. and with the javascript it also give the error

[code]....

View 5 Replies

How To Get MAC Address Of Client Machine In C# And Vb.net

Jan 7, 2010

How to get MAC address of client machine in c# and vb.net

View 3 Replies

How To Install .Net App On Client Machine

Apr 2, 2011

e are developing an ASP.Net application. The requirement is to install and run an app (say console app developed using .Net) on the client machine through out ASP.Net application. How can we install this app (and .Net Framework required to run the app) when the user access our web app

View 2 Replies

Executing An Exe On Client Machine?

Jul 23, 2010

I have written a console application which will map a volume as disk to a client machine and then Initializes, formats and assigns a drive letter.

Now i want to achieve the same through a web site. This is going to be a Internal site.Right now i can do this by executing the exe with a pop up from the website to run.

But i want to do the same operation as if it is a simple button click on the website after the user fills in the requirements like size,drive letter. I dont want to have any security pop ups.

Is there a way that i can do disk operations with out having security pop ups on end user machines?

View 5 Replies

Get The Host Name Of The Client Machine?

Nov 23, 2010

I am building an ASP.NET intranet application. I am trying to get the host name of the client machine. I have started off by using System.Net.Dns.GetHostName(); but this just seems to return the hostname of the server running the website through IIS. Am I using the wrong method or am I using this one incorrectly?

[Code]....

View 4 Replies

Print PDF Files At Client Machine?

May 27, 2010

I have a Requirement Where I need to Generate the PDf Docuemnts and I need to Send it to the Printer.

All the Pdf Documents are dynamically generated and it will be saved in server Temporary Folder.Then all these PDF Document has to be sent to the Clients Network Printer.

View 11 Replies

Capturing IP Address Of The Client Machine?

Dec 15, 2010

I have a web site where I need to capture the IP address of the logged in user. Earlier my code used to work fine. But all of a sudden it is giving me only one IP address from whichever machine may be the user logging in. I have tried almost all possibilites :

Request.ServerVariables("REMOTE_ADDR")
Request.ServerVariables("HTTP_X_FORWARDED_FOR")
Request.UserHostAddress()

Still it is giving me the same IP address.

View 3 Replies

Architecture :: How To Get The Client Machine Mac Address

Dec 16, 2010

We need the a solution for our ASP.NET website. in which a user needs to activate his machine and next time if he visits the site then we need to check the machine is activated or not. if the machine is activated then we want to redirect the user on different page.

Is there any way by which we can get the client machine MAC address and store it our database?

I have found some solution in which this can be done but it works on on IE and some ActiveX setting needs to be done.We want this should work on atleast IE and FireFox.

View 3 Replies

Print Pdf File From The Client Machine?

Oct 25, 2010

I want print PDF file from the client machine. The PDF file exists on the server.

View 1 Replies

C# - Receiving Data Sent From Client Machine?

Feb 7, 2011

I'm working on a project that has a C# app (running 24/7 as a server) on the client's machine). This app needs to send a file as a byte stream via POST to a server I am currently hosting on my home desktop.

Can this file be received by a C# app running on my server, or does it have to be as ASP app/page?

Also, I know how to send a bytestream via POST, but how will I set my server side app to listen for this incoming data? I have never done something like this, so I'm looking for some pointers to get me started.

View 3 Replies

Private IP Of Client Machine From Website?

Feb 2, 2011

how can I get the private ip of client system from a website hosted on public ip in ASP.Net C#? while i am checking userhostname, it's showing the global IP of the Internet connectivity which is the same for all the machines in the network.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved