Customer Login, How To With Txt File?

I am trying to make a client login system with asp. the users register and their details get written to clients.txt. per client there are 9 lines in this txt file (name, address, etc)

username and pw are on lines 4 and 5. at login.asp i capture username and pw into strUsr and strPwd - that works fine. im unsure as to how i should not authenticate those variables against clients.txt.

- should i loop through all entries of clients.txt and compare strUsr and strPwd to line 4 and 5 of each entry?

- should i first create an array with the contents of the whole txt file and then see if strUsr and strPwd match any of the 4th and 5th lines?

View Replies


ADVERTISEMENT

The File '/Customer/Login.aspx

I have an asp.net 2.0 web application that I have pre-compiled and deployed to a Windows 2003 server. When I try to access the web application I get thefollowing message in my browser:

'The file '/Customer/Login.aspx' has not been pre-compiled, and cannot be
requested'.

If I rename the folder containing the web app to something other than'Customer' then it works! I have tried deleting the folder and recreating it but I get the same problem. I have also copied the folder to another serverand it works without any problems.

View Replies View Related

Customer Support

I have been using ALS for a while, and I want to be able to create my own version, But the only issue I have is being able to track users realtime, ie get what page they are on, how long they have been online, and being able to contact them by throwing a pop-up.

ALS does it but i've tried scoping the coding, but can't find anything.

View Replies View Related

Customer Orders By Fax

I have a small team who are building e commerce sites for different clients .One of our client wants his customer orders to be faxed directly to him.

View Replies View Related

Customer Textbox Field

i have a page which lets u search for a tupple in the database.it allows the user to search by customername or jobno.so i have 2 text box to let the user enter.and each text box has a submit button which will link back to the same page and it will display all the search results.

i have error check script that dun allow the user to submit if nothing is entered.but now on my same display page... how mani i suppose to write the sql statment as i dun have idea to display the results from the customer search or job no search.

i mean i can write 2 recordset.but how do i make sure that it will display the 1 tat the user search.is there a if else way or sumthing??i mean if i search by job no.then when i request from the customer textbox field.wat is the value that is pass over?

View Replies View Related

Customer Details Page

Just uploaded my database how to i create a simple page where i can enter customer details into my database. i would like fields like customer id, first name last name etc where the telephone number could be the primary key

View Replies View Related

Info On Customer Only Area

does anyone know of a site that takes you through a walkthrough on how to set up a client only area, but in javascript to use on an asp server?

View Replies View Related

Customer Updating Website

I have a client who wishes to make changes to their website live and without having to purchase any additonal software and do any training.

I have seen a few websites where they have an admin page where the client can login and make changes on the fly to the site through a browser. Does anyone out there know of any software that can do this or where i can find more info on this?

View Replies View Related

Only Latest Record Got Customer Name.

i have table Comment and Customer. Customer is a registered customer. but, comment can be given by registered or non-registered customer. right now, i have 6 records which are 3 registered customer and 3 non-registered customer in Comment table.

for the non-registered customer, i put as a Guest for their name while registered customer, i have display his/her real name. my problem is, the latest record in Comment is a registered customer and her name is displayed in the html table but the rest registered customers, their names are not displayed. something wrong is there. for the non-registered customer, no problem at all. this is my script. at this page also has paging script. Code:

View Replies View Related

Flat File Login

ive had a go at creating a flat file user login, ( flat file because its going on a companys server which dosent use databases. ) i have this code below but there is something wrong with it because the script just times out. im new to asp im a php man myself, so i would think its the loop making the script timeout. Code:

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

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

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

ASP Login

I have created a login and members page, and checked that it works, so that when you enter the correct username and password it logs you in.

But how can I have it redirect the user to their own personal page? Because I don't want to have different users going to the same page, I want them each to have their own personal members page.

View Replies View Related

Login

I've created a site where the user can register and then log in. However if a user registers, the data is entered into the database, but they cannot log in. But a username i entered directly into the database still works when logging in.

Does anyone have any ideas why this may happen?

View Replies View Related

Last Login

I get an error like this:
Type mismatch: '[string: "UPDATE dbo.con_users"]'

With the following query code:
UPDATE dbo.con_users SET last_login = #" + nowDate + "# WHERE username = '" + Replace(userUSERNAME, "'", "''") + "' AND password = '" + Replace(userPASSWORD, "'", "''") + "'"

I've successfully tested the variables in it (nowDate, userUSERNAME, userPASSWORD). What is the mismatch?

View Replies View Related

Login ..

I've already created a login page .. but how am i suppose to make sure that only those who login can access the member's areas and those who hasn't login will be redirected to login.asp ?? Is it possible to use cookies ???

View Replies View Related

Login

i am getting log in the application and woring with my some
windows.now keeping that other window open and now from that main window i am
logging out. so it throws me to the login page (as i am logged out). I
am also clearing and abandoning the session. also with the
FromsAuthentication.SignOut().
now with that login page i am relogging with other persons login ID.
Now i am taking the other window which i had kept it aside and now
refreshing it, it is showing me with the rights of the previous User.
I want it to redirest to the login page as it was open by other user
and now that user is not a vlid user as he has logged out.

View Replies View Related

ASP Login

Im new to ASP and im having trouble building a login script. I need an ASP login that reads the username and password from an XML page.

View Replies View Related

I Have A Login

i have a login page and a page that validates it, if you log in succesfully i want to to display the name of the user on the admin page e.g i want to have "welcome and then the name of the user" how can i do this?

View Replies View Related

Asp Login

i couldnt find this around the site anywhere.
i'm very new to asp
i am trying to have users be able to register, so they
need to be able to change the users.mdb file

adoCon.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("users.mdb")

they web browser says that i need to change that line of code so
it sends the password to the database so i can get access to it.

View Replies View Related

Login

i want to make a login session for 40 misnutes.so, what should i do.

View Replies View Related

NT Login

How to get a user's name and email from
his/her NT login? I know that in .net, we can user System.DirectoryServices
to do so, but not sure if there's a corresponding mechanism to get info from
active directory.

View Replies View Related

Login

is there a way to limit a login, so that if a user "log's in" that username and password cannot be used until the user "log's out". peace.

View Replies View Related

Login

Im in the process of making a login script. I was thinking of doing
something like session("User") = rs("Username")

but how do I check if a user is already logged in or not ? I mean, if the
user isnt' logged in then the session variable isnt created and I would get
an variable error of some kind. Just looking for some input.

View Replies View Related

Web Login

I have a web based login form for secure login to access a member's area. Is there a way to pass a variable to ASP from the login window. I attatched a image of the login window.

The login form uses a text file to varify users. I do not wish to use ASP/Session for the login process.

View Replies View Related

Login With In 14 Min

I have a page where users enter information into a site and i have noticed a problem where some users take a long time entering the information. I have a timeout on logins of about 14 minutes but i need to extend this or get it to make the system think the user is still active while they are on this one page.

I have been thinking of using an AJAX solution to the problem, the reason for using AJAX is the logins are tracked in the database in an active users table and each time they change page the last seen time is updated. If the last seen is not updated they will be removed from the active users table and the system sees them as logged out.

could anyone tell me if using AJAX would this keep the browser session alive as if they were navigating through the site in a normal manner, rather than the session timing out or would i have to extend the browser session as well as updating the active users table in the database.

View Replies View Related

Login

I have a header section and the login.asp is included. When I click login I want the current page refresh. As the login fields are in an include this file is the one that refreshes. So if youre on default.asp and you login it opens up login.asp (which detects the session varriable and only displays the login fields if the user is logged out)

I want to know how to make this work. I know it can be done as Ive done it before (albeit many moons ago). All I really need is for the current page to refresh (if you are on default.asp and login it will reload default.asp, if youre on Contact.asp it will reload contact.asp)

View Replies View Related

Asp Login

can any one please give me simple login through database.

View Replies View Related

Login

I have a login page that asks for a usrname and password if this data exists in the database it creates a session variable for each then redirects to another page, this page checks the user sesion for a value and if it is not empty it displays the page or
redirects you back to the login page if the session is empty.

When I log in it displays the redirected page correctly but if I follow a subsequent link to another page (all pages run the same check)it redirects me back to the login page even though the two sessions are valid (I did a response.write to confirm the values) however if I log in again it lets me view all the pages correctly, what would be the reason that the first login seems to lose the session values but by logging in
again allows me to continue?

View Replies View Related

Login

how I could go about doing this? Also is there a way to export all the users and there passwords in Active Directory into a *.csv file or something silmilar that I could just put in a database and pull from?

View Replies View Related

Login Question

Can someone explain the how I can make it so that a login ( username )
can only be logged in once to a website if it is possible.

What I would like to do is have it so that if dwaldman is logged in
that login can't login again with another session until the old
session is terminated ( logged out )

View Replies View Related

Function-Last Login

i want to display the last login time and date in my portal.asp but however i search thr w3school.com and try out but still unable to do.

View Replies View Related







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