Last post Jan 29, 2008 09:27 PM by Lee Dumond
Jan 27, 2008 10:18 PM|csding|LINK
I have been using The Beer House web example to develope a project and i wan to add photo gallery inside but i m stuck when i can't get the user login identification from the web login which uses the cookies as the user authentication. I want to personalize
the photo gallery to each user having their own photo retrieve from database by comparing their user Id.
Jan 28, 2008 09:20 AM|cdpandya1|LINK
Can u paste your code here so that it makes more sense..
Jan 29, 2008 01:52 AM|csding|LINK
The code is in the tbh web example. Now can anyone tell me how to change the login from using username to using email to login into website. I want to use email to replace username to login into the page. For the registration, why the details that the users
register are not store in the database. Where can i retrieve all the information of the user to be view.
Jan 29, 2008 09:27 PM|Lee Dumond|LINK
Unfortunately, I think you'd have to come up with a custom membership provider for that. The problem is that, under the default membership provider, the username is basically meant to be permanent. If you replace the username with the email address, then
you have to allow it to be changeable, because people change their email addresses all the time. There is info on MSDN on creating a custom membership provider.
As for the second part, I don't know what you mean. The user registration details are stored in the database. In order to retrieve/view them, you use the methods of the Membership and MembershipUser classes.