提供登录和Silverlight应用程序中的注销功能 [英] providing login & logout facility in silverlight application
问题描述
嗨......
在我的Silver Light应用程序中,我编写了一个wcf服务来验证用户凭据是否有效,并且我返回了用户名,然后导航到下一页以在用户页面中显示用户详细信息.显示结果后,我必须提供注销功能.
我想做的是,如果用户注销,我想将用户重定向到主页(该用户页面不可见).我必须在哪里编写代码来执行此操作以及如何完成此操作.
有人请给我个主意...
谢谢,
Vijay
Hi....
In my Silver Light Application i wrote a wcf service for user credentials valid or not and i returned a username and i navigated to next page for displaying user details in user page. After displaying the result i have to provide log out facility.
What i want to do is that if the user logs out i want to redirect the user to the home page (the user page should not be visible). Where i have to write the code to do this and how does it get done.
Any one please give me idea....
Thanks,
Vijay
推荐答案
您可以在App.xaml上编写代码,集中执行应用程序.
You can write the code at App.xaml, where the application execution is centralised.
这篇关于提供登录和Silverlight应用程序中的注销功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!