# Page Expired message in Web Client

**URL:** <https://forum.servoy.com/t/page-expired-message-in-web-client/10736>\
**Category:** Classic Servoy\
**Created:** [June 2, 2009, 1:28pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736 "2009-06-02T13:28:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![diana.bodnarescu](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@diana.bodnarescu](https://forum.servoy.com/u/diana.bodnarescu)\
**Post date:** [June 2, 2009, 1:28pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/1 "2009-06-02T13:28:05Z")

</div>

Hi,  
Could you please tell me why the message “Page expired” appears in Web Client sometimes? What triggers the generating of this error?  
DB

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [June 2, 2009, 1:53pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/2 "2009-06-02T13:53:02Z")

</div>

This happens when your session times out, by default after 30 minutes without activity.  
You can change the duration in the file: servoy\application\_server\server\conf\web.xml

Somewhere in that file you’ll see this:

```auto
    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

```

It is also possible to show something else when a timeout happens, using the following properties on the admin page:

```auto
servoy.webclient.pageexpired.page 		
servoy.webclient.pageexpired.url		
servoy.webclient.pageexpired.redirectTimeout

```

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 15, 2009, 11:36am UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/3 "2009-06-15T11:36:13Z")

</div>

this could also be a result of many (more then 5) (modal)windows open at the same time.  
So if you have such a setup please try to not show that many, we will up that 5 in the next release.

---

<div class="post-metadata">

**Author:** ![diana.bodnarescu](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@diana.bodnarescu](https://forum.servoy.com/u/diana.bodnarescu)\
**Post date:** [June 23, 2009, 1:55pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/4 "2009-06-23T13:55:22Z")

</div>

> this could also be a result of many (more then 5) (modal)windows open at the same time.  
> So if you have such a setup please try to not show that many, we will up that 5 in the next release.

This “Page expired” html page indeed appears after pressing on a button from a modal (form in) dialog. But it is one, not even close to 5 or more. I am not sure I understand what you mean by “try to not show that many”, i always show one and the user closes it by pressing on x or on the ok button (which calls the application.closeFormInDialog method).  
Maybe I am missing something?

Diana

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 23, 2009, 2:00pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/5 "2009-06-23T14:00:14Z")

</div>

if you have it just with 1 and then page expired if you press a button on that then it is something else.

It could be that you open up more then 5 modal or none modal windows at the same time, that isnt suported by servoy webclient in 4.1.3 (or lower)  
we have upped that maxto about 15.

---

<div class="post-metadata">

**Author:** ![diana.bodnarescu](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@diana.bodnarescu](https://forum.servoy.com/u/diana.bodnarescu)\
**Post date:** [June 23, 2009, 2:36pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/6 "2009-06-23T14:36:33Z")

</div>

> if you have it just with 1 and then page expired if you press a button on that then it is something else.

Thank you for your promptitude!  
I only have 1 modal dialog displayed at that time. After the press of the specific button on that dialog, 2 things happen:

- application.closeFormDialog()
- call of a method  
The Page expired html does not always appear. Sometimes it works fine all the way, I do not see a logic on the triggering of “Page expired”.  
Do you know what it could be?

Diana

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 23, 2009, 3:04pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/7 "2009-06-23T15:04:56Z")

</div>

no, not directly

do you have it when you open that same action more the 5 times? So that you did open up more then 5 dialogs? (but not at he same time?)

Just try to pin point when it really goes wrong.

---

<div class="post-metadata">

**Author:** ![diana.bodnarescu](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@diana.bodnarescu](https://forum.servoy.com/u/diana.bodnarescu)\
**Post date:** [June 23, 2009, 3:13pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/8 "2009-06-23T15:13:00Z")

</div>

The number of the dialogs that can pop in the application depend on some things. For example if some fields are not filled, there is a dialog shown with text: “Please fill all required fields!”. It can appear as many times as the webuser forgets to fill in a field. But it happened to me that only 1 dialog was ever popped in the application (the one that generates the “Page expired” sometimes) and it generated “Page expired”.  
I am using Servoy 3.5.9.  
Diana

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 23, 2009, 3:33pm UTC](https://forum.servoy.com/t/page-expired-message-in-web-client/10736/9 "2009-06-23T15:33:38Z")

</div>

try to make a test case then where it happens most often.
