# Hey, installed cakephp 4.0 and session problem?

**URL:** <https://discourse.cakephp.org/t/hey-installed-cakephp-4-0-and-session-problem/8860>\
**Category:** Uncategorized\
**Created:** [January 13, 2021, 4:20pm UTC](https://discourse.cakephp.org/t/hey-installed-cakephp-4-0-and-session-problem/8860 "2021-01-13T16:20:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spadeX](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@spadeX](https://discourse.cakephp.org/u/spadeX)\
**Post date:** [January 13, 2021, 4:20pm UTC](https://discourse.cakephp.org/t/hey-installed-cakephp-4-0-and-session-problem/8860/1 "2021-01-13T16:20:10Z")

</div>

cakephp 4.0 installed and set the session and when open in browser first tab it’s works,but when i open second tab on same session it’s throws an error following but i the session. set whay this happens .Auth -\>User-\>User when open third tabs includes the User

can any get this issue.

 ![Untitled](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/8/8eb32c166d47209e7ff23ec666e1308962ce7134.png)

---

<div class="post-metadata">

**Author:** ![ishan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/ishan/32/2589_2.png) [@ishan](https://discourse.cakephp.org/u/ishan)\
**Post date:** [January 13, 2021, 5:52pm UTC](https://discourse.cakephp.org/t/hey-installed-cakephp-4-0-and-session-problem/8860/2 "2021-01-13T17:52:59Z")

</div>

Can you please share some code to regenerate the issue?

---

<div class="post-metadata">

**Author:** ![spadeX](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@spadeX](https://discourse.cakephp.org/u/spadeX)\
**Post date:** [January 14, 2021, 5:29am UTC](https://discourse.cakephp.org/t/hey-installed-cakephp-4-0-and-session-problem/8860/3 "2021-01-14T05:29:14Z")

</div>

I follow the following steps:-  
[https://book.cakephp.org/4/en/tutorials-and-examples/cms/authentication.html](https://book.cakephp.org/4/en/tutorials-and-examples/cms/authentication.html)
