Obtaining User's XP Username

I am writing an ASP that writes info to a database. The application does not reqire the user to log in as it doesn't have any authentication process, but as part of the information I write to the database, I need to pass in the user's Windows XP username. I don't want to have to ask the user to enter their username, so is there a way of obtaing the user's XP logon username without them having to type it?

View Replies


ADVERTISEMENT

Obtaining IP Address With ASP

In reference to an e-commerce website, is it possible (using Active Server Pages) to obtain the IP address of a particular user? I would like to get an address that uniquely identifies the user. If so, how would that be done?

View Replies View Related

Obtaining A Value From A Field

I'm trying to do a postcode lookup. I'd like to obtain the value of a text field in a form before submission than pass that value to another asp page (which does the processing then passes the values back) via a hyperlink. I don't want to submit the form as I have another button to do that later when the user has completed the form.

I assume I'd have to do this with a Javascript function but I have several problems, I don't seem to be able to get the value and I don't know how to put it into an asp variable to use in the hyperlink.

View Replies View Related

Obtaining Client Side IP

Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting techniques,
the http headers contains the firewall's IP instead of the client's.

View Replies View Related

Obtaining Work Hours

I have a request from the boss to make a report that will require me to display how many hours something has been in a particular state. (As in status). Hard to explain. Anyway, I need to go to the table in the db, find all rows for a particular trouble ticket, find when they were put into one of our 7 statuses, when they were put into another status (this info is already in those rows), then determine how many hours they spent there in
each status.

So a ticket report will say that ticket 1000 spent 4 hours in customer research, 5 hrs in our company coding. 3 in our company testing, 4 in customer testing, etc.

The thing is, It has to assume an 8-5 workday, and leave out any hours which don't fall in between 8 am to 5 pm, and also rule out any weekends.

View Replies View Related

Obtaining Value Of Radio Button

I'm wondering how I go about obtaining the value of a radio button and a list box in a form for validation.

I have it right now as

optCust = Request.Form("customer") - Radio button
lstCountry = Request.Form("country").Item

And when I place them in my validation that gets passed to the address bar they do not store with the value they are given. Am I pulling them from the form wrong or is their a special way that it should be passed to the address bar of my redirect error page?

View Replies View Related

Logging Users :: Transactions My Users Perform

I want to be able to log in a database any transactions my users perform. For example logging in, requesting a page, downloading a resource, logging out etc.

What is the most practical way to code this? I was thinking of trying to use an include file which would have a function to add a log in the database for each page on the site or when a particular action is performed.

View Replies View Related

CDO Error "Failure In Obtaining User Token." (Error '8004020F')

I'm having a bit of trouble with an ASP form that I'm maintaining. Someone else wrote it and I'm new to CDO objects. I have a CDO.Message and a CDO.Configuration.

I set up the configuraton fields for the port and smtp server's ip address to be used. The configuration property of the message is set to be the new configuration object.

Then there's a ton of stuff appending bits and pieces to the text body.

Finally we have the message's Send method being called. That's where it breaks.

It seemed to just stop working one day. When I submit the form, the message returned is simply:

error '8004020f'

I know from the MSDN website that this error code means 'Failure in obtaining user token.' What I don't know is how to fix it!

View Replies View Related

NT Username

Is it possible to use API to get the network username? I am using it in Access and want to use the same function in my ASP page

View Replies View Related

Username

all ive done is a very simple form to post comments onto a noticeboard......using asp and access for now, all i want to be able to do is when its submitted it also sends the Windows username of the person who has submitted it to the database automatically so i can then show it on the noticeboard.

View Replies View Related

XP Username Password

How to use WIndows XP login username and password for ASP 3.0 Authentication, for access to a website directly without any further, second authentication by ASP page?

I have MS SQL Server database, ASP 3.0 website, and ASP 3.0 based authentication. I want to use a Windows XP username, make a table with approved usernames, check Windows XP username and password against the mentioned table, and finally - user can access the site without second authentication by ASP page. Of course - everything should work in IE.

View Replies View Related

Handle On Username

I need to let one person view certain things without having this perons
login. This person is logged in to the microsoft network. How do I get
that info into a variable?

View Replies View Related

Windows Username

I have a problem with ("auth_user") in asp,I try to use windows
username and password in asp page for limitation user access to pages,
but this server variable returns empty string

View Replies View Related

Show The USERNAME

ok, well what I have been having some trouble with is to show the person character name like this:

Welcome, 'Username' <-- Here I want it to show the persons username from the database.

View Replies View Related

Username And Password

i would like users to be able to login using a username and password stored in an MS ACCESS database. there is a customer table which stores the username and passwords as well as other customer details such as customer name, address etc. i would like the users to login and then when the login i succcessful, be presented with ONLY THEIR data which they can edit.

View Replies View Related

Username Password

I have a Username:, Password:, Sign In and Regester Here at my Main Page. And at my Regester Page I have a First Name:, Last Name:, Address:, Date of Birth:,Status:, Country: and ZipCode. And also at my Database Name is Info.

All I want is that when a User Log In a Message will display and say's (You are not Regestered, Sign Up First...), but If he is already regestered he can sign in by using his username: and password:. Please!, can anyone give me an ASP Code on this.

View Replies View Related

New Username Page

I'm creating a set of new user pages for my site. At present I've got a newuser1.asp file which tests if a username exists. On failure (when the username exists) it goes an almost identical copy of the file and the user has to try out a new username and password.

This seems rather inelegant (having to upkeep two files) so I'd like to have just the one page with the failure redirecting back to itself but then displaying appropriate wording ('the username exists.so that I can try to work out an appropriate solution?BTW I'm using ASP VBscript.

View Replies View Related

Logged In As: Username

i set up a login page and when the user logs in he/she is directed to the main site. What I wish to know is how can I show the user name that is logged in the main site:

For example:
Logged in as:
Username

tell me the code as i am new to ASP .

View Replies View Related

Username And Machine Name

how to insert the current user's username and machine name into a couple of textboxes to be inserted into a form. I'm creating a work order system and I would like the form to be prepopulated with this information.

View Replies View Related

Username And Password

I am developing a website with username and password. I have almost complete it. I want that once username and password is verify in the next page that open (SMS Page) should contain the same username in in FROM field and user cannot change it.[IMG]D:usmanusman.bmp[/IMG] i think this picture will help you to understand in depth.

View Replies View Related

User's Username

How can I list all logged in user's username in the page?Can any one send the code to vu3apq@gmail.com.

View Replies View Related

NT Username Situation

I have a this code the grabs the user NT login on a page:

strCae_Name = request.servervariables("LOGON_USER")
<%=strCae_Name%>

It displays the following User name: Cable/rmirto7777. Now I would like to remove the Cable/ part and just keep rmirto7777 only. Keep in mind that Cable/ part doesn't change only what comes after it and everyone has a different User name. Therefore it changes constantly! I tried alot of ways by using the function but came unsuccessful. Does anyone have any ideas on how I can achieve this goal by getting what comes after Cable/ to display on my page.

View Replies View Related

Username And Password

I have to develop a web application for my company in which I need to have a facility for username and password for the employees to do certain tasks. How can this be
implemented in ASP. I am thinking of having usernames and passwards (encrypted) in database and when a person tries to log in, the script will compare those stored in databse to the values entered by user. But after the user has logged in, how can I make sure that the user is always logged in as user move from one page to another.

how I make sure that the user is logged out properly. Basically my main concern is that no unauthorized user can access any part of that web app.

View Replies View Related

Convert Username To SID

I have a standard ASP page that is on our intranet on which I am using the request.servervariables("auth_user") variable to return the domainusername
of the user that made the page request. Does anybody know how I can convert the username into the SID (S-1-5-!!!!) equivilant for it? if it is any help it is a WIn2k3 domain.

View Replies View Related

Own Username And Password

Make a page where users can enter there own username and password in order to access the memebers section, and alert them if the username has already been taken. Also need a message board like the one we're using here only i have no idea where to start I have spent 5 days online trying to find help and tutorials etc, but I must confess I'm struggling now with code overload.

View Replies View Related

Username And Password

i am getting url and password in query string i used get and post methods. how these yahoo people get loooooooooooooooong url in query string .

View Replies View Related

Spaces In A Username

we never guarded againsts spaces in a new site we built. And while checking, a couple of users registered with spaces between their usernames. e.g. afrika 1 instead of afrika_1. Could there be downside to this?

View Replies View Related

Login Username

How will you know that a username is already login? I have this chat page in which both of you can login with the same username.

View Replies View Related

Verifying Username/Password

I have seen in many sites that when I enter my username/password, it displays a new page wherein it says "Verifying Username/Password. Please wait..."

I wonder what does it do behind the scene? Does it really take 5-6 seconds to verify a username/password? if yes, what code runs behind it? If no, then why they have to display that page?

I think the authentication process normally does not take more than 1 second.

View Replies View Related

ASP Grabbing Windows Username

Anyone know how it is possible for windows to get the name of the user
logged in?

I know if you do :

Request.Servervariables ("AUTH_USER")

it displays the username of the person logged in, but is there a way
to get the "Full name" of that user in the active directory?

Ie, if they log in with the username jsmith, I from that I know there
full name is John Smith.

View Replies View Related

Get Username From HTTP Header

i have heard that when you login from an NT login box the username gets passed on in the HTTP header. If so how can I get that information?

View Replies View Related

Auth_user :: Get Username From Windows

I want to my web page get username from windows and use this username for limitation access of user to pages, my authentication is windows I thinks because user input username for login to windows, and auth_user has value of username I think maybe it doesn't need to get username again, but you say it's normal.

View Replies View Related

Remove Period From Username

I'm trying to remove a period in a username. For instance, I want:

First.Last to look like FirstLast

View Replies View Related







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