Skip to content

Releases: carry0987/SessionManager

1.0.11

Choose a tag to compare

@carry0987 carry0987 released this 13 Mar 20:33
1cd223d

Fix types

1.0.10

Choose a tag to compare

@carry0987 carry0987 released this 20 Jul 15:45
18f7d4b
Update .gitattributes

1.0.9

Choose a tag to compare

@carry0987 carry0987 released this 04 Mar 02:44
724a1c2

Fix generateCSRFToken method

1.0.8

Choose a tag to compare

@carry0987 carry0987 released this 04 Mar 02:41
f9aa62d

Fix getCSRFToken method

1.0.7

Choose a tag to compare

@carry0987 carry0987 released this 03 Mar 10:03
d5b736e

Fix session check logic

1.0.6

Choose a tag to compare

@carry0987 carry0987 released this 01 Feb 16:42
161b2d9

Add empty check for CSRF token

1.0.5

Choose a tag to compare

@carry0987 carry0987 released this 01 Feb 16:09
c9d6417

Add refreshCSRFToken() method

1.0.4

Choose a tag to compare

@carry0987 carry0987 released this 11 Jan 04:08
67c4625

Refactor session initialization and fixation methods

  • Ensure session_regenerate_id is called once by invoking preventSessionFixation only during session_start in initSession.
  • Check if the HTTPS key is set in the $_SERVER global to avoid undefined index notices when setting cookie parameters with secure flag.
  • Remove redundant calls to preventSessionFixation and preventSessionExpired in the constructor and renew methods.

These changes aim to streamline session handling, strengthen security measures against session fixation, and ensure compatibility with servers where HTTPS may not be set or inactive.

1.0.3

Choose a tag to compare

@carry0987 carry0987 released this 09 Jan 11:21
c2fed24
Update README.md

1.0.2

Choose a tag to compare

@carry0987 carry0987 released this 09 Jan 11:18
05d4230
Fix return type