Skip to content

Commit 7e96e9b

Browse files
claudiamurialdoBeta Bot
authored andcommitted
Cherry pick branch 'genexuslabs:fix/cookie-secure' into beta
1 parent 95bda39 commit 7e96e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Middleware/GXHttpModules.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void Init(HttpApplication app)
241241

242242
private void Session_Start(object sender, EventArgs e)
243243
{
244-
if (App.Request.GetIsSecureFrontEnd() || App.Request.GetIsSecureConnection() == 1)
244+
if (App.Request.GetIsSecureFrontEnd() || App.Request.GetIsSecureConnection() == 1 || Preferences.HttpProtocolSecure())
245245
{
246246
HttpCookie sessionCookie = RetrieveResponseCookie(App.Response, cookieName);
247247

0 commit comments

Comments
 (0)