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.
Mick Wilson - 16 Apr 2008 15:34 GMT
> 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.httprequest.isauthenticated.aspx
Cowboy (Gregory A. Beamer) - 16 Apr 2008 17:28 GMT
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.

Signature
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!
*************************************************
> Greetings,
>
[quoted text clipped - 7 lines]
>
> Thanks.