ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old July 16th, 2003, 07:43 AM
Rhambutan Rhambutan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Scarborough
Posts: 2 Rhambutan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Can someone help me?

I am not a computer wiz--so if someone can point me in the right direction, it would be greatly appreciated. I am creating some pages for an existing internet site. On one page, I have a Customer ID and Password field which must be entered in order for the user to access his/her information from our site. How do I make this work? My web host has already set up the IDs & Passwords I just don't know how to link the page (designed in FrontPage) so that once the user has entered the ID and Password they can access their file. Thanks!!!

Please e-mail me at URL

Rhambutan.

Reply With Quote
  #2  
Old July 17th, 2003, 09:57 PM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
1) Is the page expecting the userid and password from a POST or from a GET? (the one that is receiving your userid and password) You need to know what the page is expecting and so that you can pass it the userid and password in the right format.

2) Is the page an ASP page? (the one that is receiving your userid and password)

Reply With Quote
  #3  
Old July 18th, 2003, 08:19 AM
Rhambutan Rhambutan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Scarborough
Posts: 2 Rhambutan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I don't know how any of what you described works i.e. POST or GET. The page that is receiving the userid & password has not been created yet. If you can suggest the best way to create this that would be great.Thanks

Reply With Quote
  #4  
Old July 18th, 2003, 09:28 AM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
Hello,

If you are running the website with IIS, you can secure the website folder with NT Authentication. This way, you don't have to create a login page. The website page will popup a login dialog when the user attempts to access a page the first time. But this is generally supported in Internet Explorer.

For database verification, you might have a form in your login page like this:

<form name="login" method="post" action="Redirect.asp">
<input type="text" name="userid">
<input type="password" name="password">
<input type="submit" name="submit" value="Login">
</form>

When the user submits the form above, the page will be redirected to whatever the 'action' property is set to. (redirect.asp in this case). Then the redirect page will grab the userid and password being passed in, like this:

<%
Dim userid, password
userid = Request.Form("userid")
password = Request.Form("password")
'at this point, do what you need to process the credentials...
'and redirect them to the right page after they login.
%>

If you are authenticating via a database, then you will have to check to see if the userid,password combination exists in the database at this point. If it does, redirect the user to his or her home page using Response.Redirect("nameofpage.html").

Hope this helps. If you need more help, let me know.

Last edited by dcarva : July 18th, 2003 at 11:45 AM.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Can someone help me?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway