Fix Redirections when installed on other directories.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace VAR.Focus.Web.Code.BusinessLogic
|
||||
|
||||
private List<Session> _sessions = new List<Session>();
|
||||
|
||||
private string _cookieName = "ScrummerSID";
|
||||
private string _cookieName = "FocusSID";
|
||||
private int _cookieExpirationDays = 30;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace VAR.Focus.Web.Controls
|
||||
|
||||
public bool IsReusable
|
||||
{
|
||||
get { throw new NotImplementedException(); }
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public void ProcessRequest(HttpContext context)
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace VAR.Focus.Web.Controls
|
||||
|
||||
public bool IsReusable
|
||||
{
|
||||
get { throw new NotImplementedException(); }
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public void ProcessRequest(HttpContext context)
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace VAR.Focus.Web.Pages
|
||||
}
|
||||
|
||||
Sessions.Current.Session_Init(Context, _txtNameEmail.Text);
|
||||
Response.Redirect(".");
|
||||
Response.Redirect(Globals.DefaultHandler);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace VAR.Focus.Web.Pages
|
||||
|
||||
void btnExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect(".");
|
||||
Response.Redirect(Globals.DefaultHandler);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -12,10 +12,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>True</ExcludeApp_Data>
|
||||
<publishUrl>..\Published</publishUrl>
|
||||
<DeleteExistingFiles>True</DeleteExistingFiles>
|
||||
<PrecompileBeforePublish>True</PrecompileBeforePublish>
|
||||
<EnableUpdateable>False</EnableUpdateable>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<WDPMergeOption>DonotMerge</WDPMergeOption>
|
||||
<DeleteExistingFiles>False</DeleteExistingFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
@@ -20,6 +20,7 @@
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<TargetFrameworkProfile />
|
||||
<UseGlobalApplicationHostFile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -65,7 +66,9 @@
|
||||
<Content Include="Styles\02. Boards.css" />
|
||||
<Content Include="Styles\05. Cards.css" />
|
||||
<Content Include="Styles\10. Chat.css" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Web.config">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Code\Bundler.cs" />
|
||||
@@ -133,7 +136,7 @@
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>31337</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:31337/</IISUrl>
|
||||
<IISUrl>http://localhost:31337/VAR.Focus</IISUrl>
|
||||
<OverrideIISAppRootUrl>True</OverrideIISAppRootUrl>
|
||||
<IISAppRootUrl>http://localhost:31337/</IISAppRootUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<clear/>
|
||||
<add name="GlobalRouter" path="*" verb="*" type="VAR.Focus.Web.GlobalRouter"/>
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
|
||||
Reference in New Issue
Block a user