Current location: Hot Scripts Forums » Programming Languages » ASP » Problem in login page


Problem in login page

Reply
  #1 (permalink)  
Old 02-08-10, 05:55 AM
ims225 ims225 is offline
New Member
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Problem in login page

Hi,
I am a newbie to asp... i'm jus creating a login page which gets the information from user and does not store in database... my question is how can i do this with my asp coding which never uses database connections.... i'm jus trying with the code below but it does'nt works... pl help...

Code:
<form action="admin.asp" method="post">
<tr> 
<td width="90" align="right"><span class="Estilo8">User Name: </span></td> 
<td width="131"><div align="right"> 
<input type="text" name="username" size="16" > 
</div></td> 
</tr> 
<tr> 
<td align="right"><span class="Estilo8">Password: </span></td> 
<td><div align="right"> 
<input name="password" type="password" size="16"> 
</div></td> </tr>
<tr> 
<td></td><td><div align="right"> 
<input type="submit" value="Login" name="B1">
<%if username<>"betting" and password<>"bet1234" then %>
Invalid user name and password
<%end if%>
</div></td>

pl help...

Last edited by digioz; 02-08-10 at 11:27 AM. Reason: Please use Code Tags
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-09-10, 05:04 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
end if might be endif (no space)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 02-10-10, 12:31 AM
ims225 ims225 is offline
New Member
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
that is not working buddy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 02-18-10, 11:17 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 12-02-10, 06:35 AM
blpedersen blpedersen is offline
New Member
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Hi guys
Flip Ultra HD
Im new to this forum, and am newbier than newb.. I have only had a little bit of ASP coding in school, any suggestions on where to learn this the best way?

Also I think I read somewhere that ASP is getting old so asp.net should be the future is that correct?


Regarding <%end if%> is is not supposed to stand alone like this end if ??


Thank you

Blpedersen


Flip Ultra HD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I am facing problem with IE page caching. snowbydave1 PHP 1 03-29-07 10:50 PM
Classified Ads skipper23 Perl 3 11-22-05 03:22 AM
Page access and user login nicpon ASP 10 09-09-05 04:53 PM
login problem zoomyat HotScripts Site Bug Reports 3 02-28-05 02:45 PM
Classified Ads skipper23 Perl 2 12-30-03 04:43 AM


All times are GMT -5. The time now is 01:00 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.