# What's the reason of page expire in web server and how to change its behavior?

**URL:** <https://racket.discourse.group/t/whats-the-reason-of-page-expire-in-web-server-and-how-to-change-its-behavior/754>\
**Category:** Questions & Answers\
**Tags:** question\
**Created:** [March 1, 2022, 1:45pm UTC](https://racket.discourse.group/t/whats-the-reason-of-page-expire-in-web-server-and-how-to-change-its-behavior/754 "2022-03-01T13:45:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hanson](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/hanson/32/388_2.png) [@Hanson](https://racket.discourse.group/u/Hanson)\
**Post date:** [March 1, 2022, 1:45pm UTC](https://racket.discourse.group/t/whats-the-reason-of-page-expire-in-web-server-and-how-to-change-its-behavior/754/1 "2022-03-01T13:45:23Z")

</div>

This message often confuse my user:  
`Sorry, this page has expired. Please go back.`  
Why is this happening and how to avoid it if possible?

---

<div class="post-metadata">

**Author:** ![samth](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/samth/32/3_2.png) [@samth](https://racket.discourse.group/u/samth)\
**Post date:** [March 1, 2022, 3:23pm UTC](https://racket.discourse.group/t/whats-the-reason-of-page-expire-in-web-server-and-how-to-change-its-behavior/754/2 "2022-03-01T15:23:47Z")

</div>

This happens when you use the continuation-based web server, and it's a result of the expiry of the continuation. Since the continuation is stored in memory in the web server, and anyone could have saved the URL somewhere, it would just stay there forever if it didn't expire. You can read more about this, and configure the policy, here: [2&nbsp;Stateful Servlets](https://docs.racket-lang.org/web-server/servlet.html#%28part._managers%29)
