Re: How do I tell if the user if logged in?
- From: Nick Gilbert <news@xxxxxxxxxxxxxxx>
- Date: Thu, 26 May 2005 11:37:35 +0100
It is mainly for restricting access to pages, but if don't configure any
protected pages then you can still use the other features. Perhaps Forms
Authentication might be a little over the top for what you need, but it
is quite a nice system once you get to grips with it.
Nick...
Alan Silver wrote:
> To Elton and Nick,
>
> I have used Windows Forms Authentication, but was under the impression
> that this was for restricting access to certain pages. I am not
> restricting access at all, nor forcing people to log in, I'm just
> offering extra features for those who do log in.
>
> Is this also covered by WFA? If so, please could you elaborate a little,
> as my reading of it wasn't like that.
>
> Thanks for the replies.
>
>> Why not use the built in FormsAuthentication system to handle your
>> logins? This way you could configure and limit access to pages quite
>> easily by just editing web.config. You could also check to see if your
>> users are logged in by checking Context.User.IsAuthenticated.
>>
>> There are many tutorials on the web for how to setup Forms
>> Authentication. It would probably be more secure and quicker than
>> implementing your own system from scratch.
>>
>> Nick...
.
- Follow-Ups:
- Re: How do I tell if the user if logged in?
- From: johntolen
- Re: How do I tell if the user if logged in?
- From: Alan Silver
- Re: How do I tell if the user if logged in?
- References:
- How do I tell if the user if logged in?
- From: Alan Silver
- Re: How do I tell if the user if logged in?
- From: Nick Gilbert
- Re: How do I tell if the user if logged in?
- From: Alan Silver
- How do I tell if the user if logged in?
- Prev by Date: Re: accessing controls in web forms user control
- Next by Date: Re: ASP.Net Memory Breakdown
- Previous by thread: Re: How do I tell if the user if logged in?
- Next by thread: Re: How do I tell if the user if logged in?
- Index(es):
Relevant Pages
|