code for login control for asp.net using vb

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: May 2009
Posts: 46
Reputation: mshravs is an unknown quantity at this point 
Solved Threads: 0
mshravs mshravs is offline Offline
Light Poster

code for login control for asp.net using vb

 
0
  #1
May 29th, 2009
here is the problem,
i wanted to create a login page, where in when a given username and password is created it should directly to the webpage showing the details. but if i give any other username and password it should be directed to the member sign in page. the place where i got stuck up is at using login controls. i just need the coding for that by using VB.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: code for login control for asp.net using vb

 
0
  #2
Jun 1st, 2009
ASP.NET 2.0 and up have the ASP.NET Membership Provider and the login controls, which will make this simple for you. Check out this walkthrough on MSDN: http://msdn.microsoft.com/en-us/library/879kf95c.aspx.
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 5
Reputation: shobitha is an unknown quantity at this point 
Solved Threads: 1
shobitha shobitha is offline Offline
Newbie Poster

Re: code for login control for asp.net using vb

 
0
  #3
Jun 1st, 2009
Hi...

do u wish to log in to ur webpage using only login controls or u can have textboxes and buttons...?
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 46
Reputation: mshravs is an unknown quantity at this point 
Solved Threads: 0
mshravs mshravs is offline Offline
Light Poster

Re: code for login control for asp.net using vb

 
0
  #4
Jun 1st, 2009
using the login controls. with textboxes and button i got it
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 8
Reputation: neel_patric is an unknown quantity at this point 
Solved Threads: 1
neel_patric neel_patric is offline Offline
Newbie Poster

Re: code for login control for asp.net using vb

 
0
  #5
Jun 2nd, 2009
Originally Posted by mshravs View Post
using the login controls. with textboxes and button i got it
how did u validate the user id and passwd? can u post ur code pliz?
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,602
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 460
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: code for login control for asp.net using vb

 
0
  #6
Jun 2nd, 2009
Run - WAT (Web Site Administrative Tool) to configure Membership - Role/Users account.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 46
Reputation: mshravs is an unknown quantity at this point 
Solved Threads: 0
mshravs mshravs is offline Offline
Light Poster

Re: code for login control for asp.net using vb

 
0
  #7
Jun 2nd, 2009
i got everything but i'm getting a runtime error saying that there should be only one config selection and highlighting the the firstline in the asp code page of the loginform, the default page and the other webpage what went wrong
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 27
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: code for login control for asp.net using vb

 
0
  #8
Jun 2nd, 2009
Post your web.config
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 46
Reputation: mshravs is an unknown quantity at this point 
Solved Threads: 0
mshravs mshravs is offline Offline
Light Poster

Re: code for login control for asp.net using vb

 
0
  #9
Jun 6th, 2009
Originally Posted by neel_patric View Post
how did u validate the user id and passwd? can u post ur code pliz?
using validating controls in the toolbox
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,602
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 460
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: code for login control for asp.net using vb

 
0
  #10
Jun 6th, 2009
Can you post error message description or a snap shot?
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC