469,625 Members | 1,088 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

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.


Jun 27 '08 #1
2 2151
On Apr 16, 4:45 am, "ascll" <as...@REMOVEyahoo.comwrote:
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/lib...enticated.aspx
Jun 27 '08 #2
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" <as***@REMOVEyahoo.comwrote in message
news:uF**************@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.


Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by XP | last post: by
9 posts views Thread by buran | last post: by
reply views Thread by XML newbie: Urgent pls help! | last post: by
reply views Thread by XML newbie: Urgent pls help! | last post: by
reply views Thread by kevin bailey | last post: by
5 posts views Thread by mcfly1204 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.