# \#mezzio-session

**URL:** https://discourse.laminas.dev/tag/mezzio-session/67.md

[Latest](https://discourse.laminas.dev/latest.md) · [Categories](https://discourse.laminas.dev/categories.md) · [Tags](https://discourse.laminas.dev/tags.md)

---

## [Where is Session ContainerPersistenceInterface?](https://discourse.laminas.dev/t/where-is-session-containerpersistenceinterface/3623)

<div class="topic-metadata">

**Author:** [@wscp](https://discourse.laminas.dev/u/wscp)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 8:49am UTC](https://discourse.laminas.dev/t/where-is-session-containerpersistenceinterface/3623 "2024-03-08T08:49:09Z")

</div>

I was looking at the mezzio-session docs and noticed this part about using SessionContainerPersistenceInterface to handle session expiry in custom persistence backends. However, I can’t find any information about Session…

---

## [Mezzio-csrf not working](https://discourse.laminas.dev/t/mezzio-csrf-not-working/2517)

<div class="topic-metadata">

**Author:** [@mh\_sam](https://discourse.laminas.dev/u/mh_sam)\
**Replies:** 0\
**Last updated:** [September 24, 2021, 12:43pm UTC](https://discourse.laminas.dev/t/mezzio-csrf-not-working/2517 "2021-09-24T12:43:55Z")

</div>

hi everyone this is my code to use mezzio-csrf : //myHandler.php public function handle(ServerRequestInterface $request) : ResponseInterface { $guard = $request-\>getAttribute(CsrfMiddleware::GUARD\_ATTRIBUTE); …

---

## [Session: New ID generated every time, can't load existing ID from URL](https://discourse.laminas.dev/t/session-new-id-generated-every-time-cant-load-existing-id-from-url/1704)

<div class="topic-metadata">

**Author:** [@rhengles](https://discourse.laminas.dev/u/rhengles)\
**Replies:** 2\
**Last updated:** [December 23, 2020, 11:10am UTC](https://discourse.laminas.dev/t/session-new-id-generated-every-time-cant-load-existing-id-from-url/1704 "2020-12-23T11:10:34Z")

</div>

I have a problem. My frontend is in one domain and my backend is in another domain. When calling the backend, a new session ID is generated every time. I assume it’s because the backend is in a different domain and the …
