Check login status
Greetings,
How to I know existing user already login to my website (using ASP.net 2.0,
MS Web Developer's login wizard)?
If the user already login, I would like to set the path for Hyperlink A to
"login/hyperlinkA", else the path will be "hyperlinkA".
Kindly advise, and show me the steps in detail.
Thanks.
Re: Check login status
On Apr 16, 4:45 am, "ascll" <as... [at] REMOVEyahoo.com> wrote:
> Greetings,
>
> How to I know existing user already login to my website (using ASP.net 2.0,
> MS Web Developer's login wizard)?
You can check whether or not the request is authenticated using
httprequest.isauthenticated
http://msdn2.microsoft.com/en-us/library/system.web.httprequ est.isauthenticated.aspx
Re: Check login status
Programatically:
Check if authenticated
Drag and drop:
Set up a login view and set the link in the logged in template to one link
and the non-logged in template to another.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"ascll" <ascll [at] REMOVEyahoo.com> wrote in message
news:uFY3H55nIHA.2188 [at] TK2MSFTNGP04.phx.gbl...
> Greetings,
>
>
>
> How to I know existing user already login to my website (using ASP.net
> 2.0, MS Web Developer's login wizard)?
>
>
>
> If the user already login, I would like to set the path for Hyperlink A to
> "login/hyperlinkA", else the path will be "hyperlinkA".
>
>
>
> Kindly advise, and show me the steps in detail.
>
>
>
> Thanks.
>
>
>
>