Skip to content

Commit

Permalink
cookiedomain is tied to one TYPO3 instance (TYPO3-Documentation#4811)
Browse files Browse the repository at this point in the history
  • Loading branch information
franzholz authored Oct 10, 2024
1 parent 759527c commit a07ca6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/Configuration/Typo3ConfVars/SYS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ configurations.
value to ".example.org" (replace example.org with your domain!), login
sessions will be shared across subdomains. Alternatively, if you have more
than one domain with sub-domains, you can set the value to a regular
expression to match against the domain of the HTTP request.
expression to match against the domain of the HTTP request. This however requires
that all sub-domains are within the same TYPO3 instance, because a session can be tied
to only one database.

The result of the match is used as the domain for the cookie. for example :
php:`/\.(example1|example2)\.com$/` or :php:`/\.(example1\.com)|(example2\.net)$/`.
Expand Down

0 comments on commit a07ca6e

Please sign in to comment.