Skip to main content
Home Forums Silverlight Programming Programming with JavaScript User Authentication
1 replies. Latest Post by MawashiKid on October 31, 2009.
(0)
silverli...
Member
11 points
87 Posts
10-31-2009 5:50 PM |
Hi,
I am creating a silverlight application. I selected a Business Application from the silverlight menu when creating the project and am using the built in login features.
Now, what I wish to do is the following:
I have certain pages which are reserved only to logged in members. However, at the moment I can access them even when I am not logged in. Can anyone tell me how I can redirect the user to the login page if he is not logged in when trying to access such pages?
Please help. I am using VB.Net as code behind an am relatively newbie in these things..
Thanks
MawashiKid
623 points
115 Posts
10-31-2009 6:12 PM |
Hi,You can check Brad Abrams article "Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 26: Authentication and Personalization"http://blogs.msdn.com/brada/archive/2009/10/05/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-26-authentication-and-personalization.aspx The code is written in C#, though I believe it can be easily converted to VB.NET