Hi
nicemanish:i want to use login control and signup form in my application but in sign up form i want to customized it more fields like country,state,city.. and so on.how i do that? for that i have to change the database table?
you have 2 solutions here , you can use the Profile to store those custom properties for the user ,
for this option , read : http://aspnet.4guysfromrolla.com/articles/101106-1.aspx
The Other solution is to create a new DataBase table , and add custom step in Create user wizatrd to let the user fill those details ..
for this option , read : http://aspnet.4guysfromrolla.com/articles/070506-1.aspx
nicemanish: 1.i come to know when i put membership its make a default database as aspnetdb so is there requirement of creating another database or i can use it? 2.if i take
I agree with the member above , you can add those tables to your application database , for this you need to use aspnet_regsql tool
please read : http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx
nicemanish:.in login page i want to get the username.in which event i will get it so that i can maintain session, and send that user to default page
you dont need to store the user in session , because if you are going to use Membership tables... you should configure your application to use FormsAuthentication ,
and so you can always get the Logged in user Name through
HttpContext.current.User.Identity.Name ,
and you can use the LoginName control to display the user Name in the page ....
Regards,