pa*********@gmail.com's wild thoughts were released on 14
May 2006 19:48:01 -0700 bearing the following fruit:
Hi all,
I'm starting out with ASP .NET. I'd like to have a homepage that shows
a completely different page depending on whether a user is logged in -
i.e. a generic welcome page if not logged in, or a user-specific
account page if logged in.
How is this normally achieved with ASP .NET? With a MultiView control,
or is there a better way to do this?
You could also use the login view
'The LoginView control allows you to display different
information to anonymous and logged-in users. The control
displays one of two templates: the AnonymousTemplate or the
LoggedInTemplate. In the templates, you can add markup and
controls that display information appropriate for anonymous
users and authenticated users, respectively.'
Jan Hyde (VB MVP)
--
An optometrist's office is a site for sore eyes. (Shawn Kennedy)