开发者

Create a user profile page dynamically - httphandler? profile provider?

I want to dynamically create a user profile page with user info displayed (name, address, uploa开发者_如何学编程ded content, etc.). I've looked at many tutorials online related to this, but am not sure which way is best. I am using ASP.NET Membership provider for user data. Should I use HTTPHandler and create the ashx file? or just use the Request.QueryString method directly in my code behind? And I'm not sure where ASP.NET Profile provider fits into all this. Thanks in advance!


I am using Forms Authentication in my site. As an example, to set the Welcome to the site label, i have

this.lblUserName.Text = "Welcome " + HttpContext.Current.User.Identity.Name:

If you added more personal information to the Userdata property of the forms ticket, you could show that personalized information similarly.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜