在我的依赖方应用程序(ASP.NET MVC4)中,我有一个注销链接,用于注销IdentityServer。我正在登陆它的“成功注销”页面,其中有一个指向我的应用程序的链接。我想要做的是点击链接,“注销”的IdentityServer,并登陆我的本地视图"LoggedOut“。我如何才能做到这一点呢?我确信这很常见,但我找不到任何编码示例。非常感谢你的帮助。这是我的注销代码。
public class LogoutHandler
{
public string Signout()
{
FederationConfiguration cfg = Feder
我不知道为什么-但它不起作用了!在类似的web应用程序项目中,使用相同的代码-它运行良好,但从网站-什么都没有!
我试着使用各种可能性: System.Diagnostics。
ProcessStartInfo info = new ProcessStartInfo(exePath);
info.CreateNoWindow = true;
info.UseShellExecute = false;
Process.Start(info);
并尝试了另一种方法:
Response.Redirect(FilePath); //with and without the extension
我知道它