# Auth logout automatically when I reload with 3-5 times continuously

**URL:** <https://discourse.cakephp.org/t/auth-logout-automatically-when-i-reload-with-3-5-times-continuously/6614>\
**Category:** Need Help\
**Created:** [September 16, 2019, 9:50am UTC](https://discourse.cakephp.org/t/auth-logout-automatically-when-i-reload-with-3-5-times-continuously/6614 "2019-09-16T09:50:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harendra](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@harendra](https://discourse.cakephp.org/u/harendra)\
**Post date:** [September 16, 2019, 9:50am UTC](https://discourse.cakephp.org/t/auth-logout-automatically-when-i-reload-with-3-5-times-continuously/6614/1 "2019-09-16T09:50:23Z")

</div>

I worked with CakePHP 2. I am facing 2 of issues related to session and auth.

in a single controller, I have many functions I set a session in a function name is x when I am trying to use that session in function b I need to start the session again for the access any session value and this problem occurs randomly.

another I have a sestion and when I refresh it 2-3 time system logoit me
