Was caused when recyclying the enterprise server. Encrypted session get got a lenght of 24 which resulted into a loop and finally a 500 error. When encrypted sessionid does not match, session is logged off and redirected to default page and encrypted session key restored.
This commit is contained in:
parent
702084c672
commit
93c14b77e9
2 changed files with 4 additions and 1 deletions
|
@ -72,6 +72,8 @@ namespace WebsitePanel.WebPortal
|
||||||
{
|
{
|
||||||
FormsAuthentication.SignOut();
|
FormsAuthentication.SignOut();
|
||||||
HttpContext.Current.Response.Redirect(DefaultPage.GetPageUrl(PortalConfiguration.SiteSettings["DefaultPage"]));
|
HttpContext.Current.Response.Redirect(DefaultPage.GetPageUrl(PortalConfiguration.SiteSettings["DefaultPage"]));
|
||||||
|
cookie.Value = GetSessionIDMac(cookie.Value, request.UserHostAddress, request.UserAgent, _ValidationKey);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Separate the session ID and the MAC
|
// Separate the session ID and the MAC
|
||||||
|
@ -87,6 +89,8 @@ namespace WebsitePanel.WebPortal
|
||||||
{
|
{
|
||||||
FormsAuthentication.SignOut();
|
FormsAuthentication.SignOut();
|
||||||
HttpContext.Current.Response.Redirect(DefaultPage.GetPageUrl(PortalConfiguration.SiteSettings["DefaultPage"]));
|
HttpContext.Current.Response.Redirect(DefaultPage.GetPageUrl(PortalConfiguration.SiteSettings["DefaultPage"]));
|
||||||
|
cookie.Value = GetSessionIDMac(cookie.Value, request.UserHostAddress, request.UserAgent, _ValidationKey);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Strip the MAC from the cookie before ASP.NET sees it
|
// Strip the MAC from the cookie before ASP.NET sees it
|
||||||
|
|
|
@ -35,7 +35,6 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
|
||||||
{
|
{
|
||||||
|
|
||||||
private string mailboxPlanToSelect;
|
private string mailboxPlanToSelect;
|
||||||
private bool addNone;
|
|
||||||
|
|
||||||
public string MailboxPlanId
|
public string MailboxPlanId
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue