KMP PHP API Reference

SessionCookieConfig
in package

FinalYes

Builds session ini settings while keeping cookies host-only by default.

Table of Contents

Methods

withDomainOverride()  : array<string, mixed>
Apply the optional cookie domain override; empty means no Domain attribute.

Methods

withDomainOverride()

Apply the optional cookie domain override; empty means no Domain attribute.

public static withDomainOverride(array<string, mixed> $ini) : array<string, mixed>
Parameters
$ini : array<string, mixed>

Session ini settings

Return values
array<string, mixed>
On this page

Search results