Login Username Database Problem

First my database consists of a couple tables.MyUsers (records - username, password, tablename)User1 (records - record 1, record2, record3)User2 (records - record 1, record2, record3)

What I have a username and password login. When they login I need asp to look up in a database (table - myusers) and if the username and password match one of the records then take the third record (which is actually a reference to that user own table) and store it in a variable.

I then need to read that users table and display all the info in that table on a new page for only that user to view.

Below are the files that I have. I have been messing around with it with another example so some of the code might be a little misleading....

View Replies


ADVERTISEMENT

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

Capture Client's Windows Login Username

I am running an application in Windows Server 2003. The clients with Windows XP Professional will access the application through the web browser. Can I know how can I grab the Windows login information like username DOMAINUSER1 from the client and apply it to the login credential in my application?

View Replies View Related

How To Protect A File Upload Page With A Login Username Cookie?

I have downloaded a nice upload script from the internet, it works great, but I would like to have it protected,so that only the admin user can use this upload page, I'm getting the following error:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Request.Session'

If I change it in Request.Cookies, that won't work either.....

View Replies View Related

Validate Username And Password From Access Database

I am trying to create a "Members Only" section of my website. I have an Access Database to store usernames and passwords and I am using Frontpage 2003.

I have very little ASP experience and am having trouble finding some help on this subject that is understandable. I already have a global.asa file on the site because I currently have a page with a form that writes to the database.

What I would like to know is how to setup a login screen to get to the members only side of the site which will validate against the password table in the database.

View Replies View Related

Login To Database

I am looking for a simple code of login to db
of asp dotnet (vb dotnet code).
with user name + password & simple database.
When login to database - I want to see a table data with all it's columns.

View Replies View Related

ASP Login / Database

I am trying to connect to a database and verify a users login and password,
then based on that login information display 3 pages based on their login.

On the home page if they are NOT logged in, I need it to display the login
box, if they ARE logged in I want it to display Welcome Customer Name from a
database called vcust.dbf which contains both the username and password
fields.

The two other pages will be based on the username (which is actually my
customers customer number ... example '100001'). I am needing to display
the customers account informaiton on one page from the vcust.dbf and their
rental history on another page from records.dbf. Code:

View Replies View Related

Password Login + Database

I am introducing a password login script to my site.I know how to password the site but am looking for good ways to password protect to users can only access their details and no-one elses.Also i was wondering whether to use SSL or not.

View Replies View Related

I Need A Login Script With Access Database

I am trying to build a secure web login that allows me to identify the person logging in by a "Welcome user" message that comes up when they reach the destination page.

Also, I want the person to be able to update their personal info and such when they are in the site. I know how to update a record, but I am unsure as how to tell the database which record to update based on the person who is logged in.

View Replies View Related

Page 2 - Login Stamp In Access Database

Unless you declared those session variables earlier, they have no data in them. Assuming this information is coming from a form, try using request.form("fieldname") instead of the session variables.

If this doesn't address your problem, give more detail about what "isn't working"

View Replies View Related

Create Login Page To Edit Access Database?

I have index.asp (Form) & process.asp (submit data from index.asp to Access Database), the Form is running Perfectly.

But, How can I create a login name and page for the applicants to edit the information they submitted?

Let say I have Email (username), Password (password) & lastname on index.asp, then I really have no clue!

View Replies View Related

XMLHTTP Through Login But After Requesting Next Page - Kicks Back To Login

I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:

set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXMLHTTP.Open "POST", "https://website.com/validate-login2.asp", false
objXMLHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXMLHTTP.Send "Username=uname&password=pwd&company=O"

That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?

I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?

View Replies View Related

Error "Cannot Open Database Requested In Login..."

The SQLServer and Web server are different computers. The error I got when logging on as ONLINE/ONLINE is "Cannot open database requested in login '<mydbname>'. Login fails.
/<mysitename>/validate.asp, line 12

Line 12 is: objConnection.Open Session("ConnectionParameter")

In global.asa, the setting is:

If Session("DataBaseBrand") = "SQLSERVER" Then
Session("ConnectionParameter") = "DSN=Alecto;UId=ONLINE;Pwd=ONLINE"

The names of UserID/Password fields on the form are dfsUserID/dfsPasswd

Below is validate.asp: Code:

View Replies View Related

Login To Page Requires Login

I want to login to a page using MSXML2.ServerXMLHTTP.4.0 or an object like this, I must send the form variables needed to login when I try to login to the page. But the problem is, that the page looks like a exe file (not a asp file or php file or what ever). The name of the page I try to login is something like "/pw?/session/login", nothing more, without extension. I have tried the code with a normal asp file with session registration and login process and it worked, but not with this file.

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







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