Skip to content

Commit f9779d7

Browse files
committed
Do not use secure cookie in development
This can cause problems when localhost is resolved differently (as name or IP v4/6 address) and the site is then not considered to be the same.
1 parent 7f0561b commit f9779d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webware/Configs/Application.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ UseAutomaticPathSessions = False
6868
UseCookieSessions = True
6969
# If you rewrite the URL, you may need to specify this explicitly:
7070
SessionCookiePath = None # the servlet path is used if not specified
71-
SecureSessionCookie = True # use a secure cookie for HTTPS connections
71+
SecureSessionCookie = not Development # use a secure cookie for HTTPS connections
7272
HttpOnlySessionCookie = True # session cookie should be HttpOnly
7373
SameSiteSessionCookie = 'Strict' # set SameSite attribute on session cookie
7474

0 commit comments

Comments
 (0)