943,729 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 548
  • ASP.NET RSS
Jul 6th, 2009
0

login page with roles

Expand Post »
hi,
there, i am doing a and it needs login page. I have a 2 textboxes, one for user id and the other for password. Using this two textboxes, I need to identify the three roles that i am using. This includes manager, delivery boy and customer to redirect to their respective page. My deadline is on fri this week and i need to come up with the right codes. I don't know what to do and where to start. i can't solve this matter. Can someone tell me step by step of what to do? I desperately need help. I am using ASP.NET(VB) and MSSQL.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
chrispaul8676 is offline Offline
36 posts
since Jul 2009
Jul 6th, 2009
0

Re: login page with roles

Why not use the built in login tools?

Website -> Asp.net Configuration
Reputation Points: 10
Solved Threads: 1
Newbie Poster
adamdk is offline Offline
5 posts
since Jul 2009
Jul 6th, 2009
0

Re: login page with roles

I posted a C# winform example @ http://www.daniweb.com/code/snippet1244.html which may help get you started. Conceptually its the same in forms or asp.net as far as looking up a user and assigning roles. Port it over to ASP.NET/VB and post back on the thread if you have any issues and we'll go from there.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jul 6th, 2009
0

Re: login page with roles

I am using ASP.NET with VB. Will this sample work out if i try to change C# codings to VB?
Reputation Points: 10
Solved Threads: 0
Light Poster
chrispaul8676 is offline Offline
36 posts
since Jul 2009
Jul 6th, 2009
0

Re: login page with roles

I can use the web configuration, but i have tried it before and it doesn't work. please assist me. I am using ASP.NET with VB
Reputation Points: 10
Solved Threads: 0
Light Poster
chrispaul8676 is offline Offline
36 posts
since Jul 2009
Jul 6th, 2009
0

Re: login page with roles

Help us help you. Make an attempt to approach the problem and post your sample code.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jul 6th, 2009
0

Re: login page with roles

i am using the ASP.NET C# which you gave. I got this error that says, 'unexpected preprocessor directive'. It is at this part as below:
#endif . please help me out
Reputation Points: 10
Solved Threads: 0
Light Poster
chrispaul8676 is offline Offline
36 posts
since Jul 2009
Jul 6th, 2009
0

Re: login page with roles

Remove the #if and #endif
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Reg: Asp.net certification
Next Thread in ASP.NET Forum Timeline: vb.net Saving Checkboxlist checked items to database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC