Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Load TreeView after user is authenticated using Forms Au
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01137133
Message ID:
01137250
Views:
20
I've never done such thing like the one you are trying to do.
I have always set "login.destinationpageurl" to a second page which (onload) check for user.IsAuthenticated and take the proper action.
I don't know why My.User.IsAuthenticated is false in loggedin event, maybe asp.net create the autentication cookies only after a redirect to the next page...
Try to divide into 2 pages what you need: the first with the login control, the second one which test My.User.IsAuthenticated

Franco

>Thank you for your reply. That what I thought initially but when I put the folowing code it returns False all the time. What am I missing ?
>
>
>If My.User.IsAuthenticated Then
>      Response.Write(Profile.cName.ToString)
>End If
>
>
>Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform