Hi,
It is really simple with ASP.Net too. For many of my sites I have a little
cell. All of my pages inherit from a page control that I created by
inheriting from System.Web.UI.Page. In the load event of my base page I
check if the user is logged in or not. If they are I place a user control
in the cell that displays specials and what not. If they are not logged in
then I display a user control that lets them log in.
Note that in ASP.Net just like in old ASP, if you are planning this ahead of
time it is a breeze. If you are at the end of the project then it will take
some work. The cool thing is that at the end of the project this is much
easier to implement in ASP.Net than in ASP. Good luck! Ken.
P.S. One of the cool things about using Roles with Forms Authentication is
it lets you do even further customization in that cell. For example Admins
get to see how many users are currently on the web page, Sales Managers can
see how many sales have gone through in the last 24 hours, and so on.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"branton ellerbee" <bl**@sbcglobal.net> wrote in message
news:Ji****************@newssvr11.news.prodigy.com ...
How do you implement a login control across multiple .aspx pages that
allows access to pages and directories with the application you are designing?
For example, imagine a login control that is located on everypage you go
to until you have logged into the application. Once you have logged in, then
the control goes away and maybe replaced with a list of options that
enables you to do whatever no that your credentials have been varified.
I know how to implement Forms authentication but that is virtual directory
specific. This is more, site specific. Once your credentials are
validated, then you are free to use other parts of an application, etc.
How do you do this with .aspx... It is pretty simple with asp...