Re: Information exchange between Javascript and Webforms

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Herb,

Ever noticed that there where a lot of security updates.

Most of those is to prevent that somebody from a server gets any information from a user workstation except the server variables.

However you can try it with an Active X. The user should than install the Active X themselves. As it is not in your company then forget it. Nobody installs an Active X as long as it is not from a trusted company.

Cor

"Herb" <stullhe104@xxxxxxxxxxxxxxxx> schreef in bericht news:2E7AFB04-DB1C-4F87-B4D3-B37BCD3924D9@xxxxxxxxxxxxxxxx
This may be a crazy question but here goes!

I have an ASP.NET application that will run on my Intranet. I need to know
what workstation the app is being run at in order to determine where printed
output should be directed. In other words, the app will print to 3 different
types of printers and I don't want the user to have to pick which one. If I
need to print a label, I want to be able to direct it to the label printer at
the requested workstation.

Anyway, I cannot find a way to do this in ASP. There is no API call to get
the workstation name, as you can do in a Windows app, and there is no way to
read from the client machine's hard drive to read a file that I might put
there to tell me what the workstation is.

Except for a cookie! (I think).

I've got a process that reads/writes the cookie in Javascript but I can't
seem to find a way to get it back to my Webform. Ideally I'll store this in a
Session variable but if I could even get it back to an ASP textbox I'd be
happy because I could set the session variable from there.

If anyone knows of a better way to accomplish this end, I'd be happy to hear
about it. Otherwise, if you know of a way to get a value from Javacript code
bak to the webform I'd be glad to hear that also.

Thanks in advance for you ideas and suggestions.

Herb

--
stullhe104

.



Relevant Pages

  • Re: Client PCs and NAS not visible on server
    ... Find the iptest.txt files on the C drive of the SBS and the workstation, copy the unedited results from each to your next post here, and let us know which is which. ... but you could change the name of the server and of the domain if you feel you must. ... I normally allow the workstations to print directly to ip printers. ...
    (microsoft.public.windows.server.sbs)
  • Re: SecurityPermission fails when running app from server VB.Net 2005
    ... TCMaxLabelMaker is my own Windows application. ... problem with a VERY simple app that I'm playing with to try to replace VB6 ... I must go to my small business server to manually delete this ... workstation there is a appname.vshost.exe that was created by the other ...
    (microsoft.public.dotnet.security)
  • Re: Only 1 computer denied access to DC
    ... just fine to that DC, it just can't access any shares or printers on it, ... I compared all services and local security policies with a workstation ... d:\i386\adminpak.msi (Server tools for remote management of servers) ...
    (microsoft.public.windows.server.active_directory)
  • Shared Printer on Windows XP
    ... is there a computer account on the server for the win 98 ... does the 98 have a user account ... >workstations that share printers with each other. ... >Win98 workstation has a HP laser jet connected to it. ...
    (microsoft.public.windowsxp.network_web)
  • RE: First Time Server Setup
    ... Make different users with different privileges on the file shares. ... We can make a schedule task on the main workstation. ... > put on a file server and assign different domain users with different ... so every clients/servers in the domain can share the printers. ...
    (microsoft.public.windows.server.migration)