# Getting a page not displayed error when browser back button hit using php and session

**URL:** <https://forum.kirupa.com/t/getting-a-page-not-displayed-error-when-browser-back-button-hit-using-php-and-session/83550>\
**Category:** programming\
**Created:** [March 20, 2005, 2:02am UTC](https://forum.kirupa.com/t/getting-a-page-not-displayed-error-when-browser-back-button-hit-using-php-and-session/83550 "2005-03-20T02:02:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashNewby](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@FlashNewby](https://forum.kirupa.com/u/FlashNewby)\
**Post date:** [March 20, 2005, 2:02am UTC](https://forum.kirupa.com/t/getting-a-page-not-displayed-error-when-browser-back-button-hit-using-php-and-session/83550/1 "2005-03-20T02:02:54Z")

</div>

I’m using sessions in my php code and am running into a very weird error.  
As I’m going through my page flow and than decide to hit the back button on the browser, I get a " **Page cannot be displayed error"**.

I really hate this because this means I have to add some funky code to make it work. The funny thing is is that if I put a back button in my php page and click it I get back to that page without any errors.

Can any browser guru’s help me out with this one??

Thanks
