在我的主页上查看问题 [英] problem viewing on myhomepage

查看:71
本文介绍了在我的主页上查看问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好程序员.

我在查看主页时遇到问题.
我有一个登录页面.

当我成功登录时,它将重定向到我的其他页面.

我的问题是.
我想在该页面上显示我的用户名和用户名.

希望能对您有所帮助.
谢谢你! :)


-chaosgray-

hello programmers.

i have a problem in viewing my home page.
i have a log in page.

when i successfully log in. it will redirect to my other page.

my problem is.
i want to show on that page my user id and my name.

hope you can help.
thank you! :)


-chaosgray-

推荐答案

您需要阅读登录页面设计.使用ASP.NET2.0中发布的MS登录控件将为您提供所有必需的功能,例如直接显示名称.

在这里查看:传统登录页面设计讨论 [此处 [ ^ ].

对于使用登录控件构建登录页面,请查看:
如何:创建ASP.NET登录页 [ ASP.NET登录控件概述 [如何将登录,角色和配置文件系统添加到ASP.NET 2.0 [ ^ ]
You need to read on Login page design. Using MS login control released in ASP.NET2.0 will give you all needed features like display name directly.

Look here:Traditional Login page design discussion[^]

Login Controls that were released by Microsoft, have a look at them here[^].

For, building Login Page using Login control, look:
How to: Create an ASP.NET Login Page[^]
ASP.NET Login Controls Overview[^]
How to add a Login, Roles and Profile system to an ASP.NET 2.0 [^]


使用LoginName或LoginView控件.
Use the LoginName or LoginView control .


这篇关于在我的主页上查看问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆