Groups | Blog | Home
all groups > asp.net > december 2004 >

asp.net : forms authentication



Peter Morris [Air Software Ltd]
12/16/2004 10:35:03 PM
alreadyLoggedIn = (HttpContext.Current.User != null);


--
Pete
====
Read or write articles on just about anything
http://www.HowToDoThings.com

My blog
http://blogs.slcdug.org/petermorris/

z f
12/16/2004 11:59:22 PM
Hi,

i have vb.net asp.net web application.
i use forms authentication for security of folder.
if the user is successfully logged in and redirects to the required forlder,
but not in the folder's required role he is redirected back to the login
page.
in this case i need to show some kind of friendsly message telling the user
he was successfully logged in but can go to the required folder.
is there a built-in way to know this from the forms authentication
infrastructure?

TIA, z.

z f
12/17/2004 7:24:19 AM
yes but he can be already logged in , because he pressed the Login button
and bot because he failed trying to access some folder.
my question is how can i know that the user was failing while trying to
access a folder.



"Peter Morris [Air Software Ltd]" <peter.morris@guess.co.uk> wrote in
message news:eFUd7974EHA.3368@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button