如何在ASP.NET中使用Http POST进行单一登录 [英] HOw to make Single SignIn Using Http POST in ASP.NET

查看:103
本文介绍了如何在ASP.NET中使用Http POST进行单一登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有两个Web应用程序.这两个都包含登录名"和首页"
当我转到应用程序一并登录时,它会转到主页.在主页中,当我单击该按钮时,它会直接进入应用程序两个的主页,因为这两个应用程序都包含相同的凭据,所以它包含一个按钮调用下一个应用程序".
请帮助我

There are Two Web Applications. these two contain Login as well as Home pages
when i go to Application One and login it goes to Home page. In home page it contain a button call Next Application when i clicked that it directly goes to Application two''s home page because both application contain same credential..

Help me please

推荐答案

在这种情况下,会话不是最好的方法,您可以将详细信息保留在缓存中.每当有人登录时,请验证Cache中的登录详细信息,
并且不提示您登录页面,这肯定会解决您的问题
The session will not be the best approach in this case, you can keep the details in the Cache. whenever someone logs in validate the login details from Cache,
and don''t prompt for login page, this will surely solves your problem


使用会话并将其传递给另一个应用程序.搜索如何在Google上创建会话
Use session and pass it to another application. Search how to create session on google


这篇关于如何在ASP.NET中使用Http POST进行单一登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆