Task #30848

Make PHP session configurable

Added by Martin Brüggemann almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-10-12
Priority:Should have Due date:
Assigned To:Martin Brüggemann % Done:

100%

Category:Session
Target version:TYPO3 Flow Base Distribution - 1.0.0
Sprint: Has patch:
PHP Version: 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

History

#1 Updated by Karsten Dambekalns almost 4 years ago

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

#2 Updated by Karsten Dambekalns almost 4 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