Skip to main content

Microsoft Silverlight

Answered Question User AuthenticationRSS Feed

(0)

silverlightmonster
silverli...

Member

Member

11 points

87 Posts

User Authentication

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
MawashiKid

Member

Member

623 points

115 Posts

Answered Question

Re: User Authentication

 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

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities