Skip to content

Commit

Permalink
updating session coookiee c6 member accessabillity
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardTMiles committed May 12, 2024
1 parent 0d0724b commit 9544155
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions carbonphp/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ class Session implements SessionHandlerInterface

protected static string $sessionData = '';

protected static ?string $sessionLifetime = null;
protected static ?string $sessionPath = '/';
protected static ?string $sessionDomain = '';
protected static ?string $sessionSecure = '0';
protected static ?string $sessionHttpOnly = 'false';
protected static ?string $sessionSameSite = 'Lax';
public static ?string $sessionLifetime = null;
public static ?string $sessionPath = '/';
public static ?string $sessionDomain = '';
public static ?string $sessionSecure = '0';
public static ?string $sessionHttpOnly = 'false';
public static ?string $sessionSameSite = 'Lax';

// TODO - why doesnt $sessionUpdated work? It seems even static variables are not shared between outside classes
// I think this is only is session store context as the constructor assigns values correctly
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{
"name": "Richard Miles",
"email": "[email protected]",
"homepage": "https://www.carbonPHP.com",
"homepage": "https://www.carbonorm.dev",
"role": "Developer"
}
],
Expand Down

0 comments on commit 9544155

Please sign in to comment.