Task #30848

Make PHP session configurable

Added by Martin Brüggemann about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
Session
Start date:
2011-10-12
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

I'm using FLOW3 in a subdomain environment and need a way to have valid session cookies for all subdomains of a php session. It's easy to implement by adding some parameters in the start method of PHPSession.php

    $cookieParameters['lifetime'],
                $cookieParameters['path'],
                $cookieParameters['domain'],
                $cookieParameters['secure'],
                $cookieParameters['httponly']
            );

The cookie params could be set by adding the following yaml options.

TYPO3:
  FLOW3:
    session:
      PHPSession:
        cookie:
        lifetime: 3600
        path:     '/'
        domain:   '.domain.com'
        secure:   false
        httponly: false
#1

Updated by Karsten Dambekalns about 10 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow
#2

Updated by Karsten Dambekalns about 10 years ago

  • Category set to Session
  • Status changed from New to Resolved
  • Target version changed from 1230 to 1.0.0
  • % Done changed from 0 to 100

Also available in: Atom PDF