EWD Sessions can be ended in one of two ways:
You can get the user to end an EWD session by providing a link to a special page named ewdLogout.ewd. EWD's compiler will generate this page for you. You just need to provide links to it, eg:
When a link to ewdLogout.ewd is clicked, EWD deletes any persistent data in the EWD Session. Any attempt to access URLs belonging to this ended session will result in EWD returning an error page.
If the user stops using an EWD application, eventually it will automatically be flagged as expired and any subsequent attempts to access URLs belonging to this expired session will result in EWD returning an error page.
You can configure the session timeout period in the ewd:config tag of either every page in an application or in the ewdTemplate.ewd page. If you use the ewdTemplate.ewd page, then the timeout value will be inherited by all pages in the application. If you don't specify a timeout period, EWD applies its default of 20 minutes. The pageTimeout attribute is used to specify the session timeout in seconds, eg:
When an EWD session times out, the associated persistent data in the associated EWD Session is not immediately deleted. This takes place when the next person starts a new EWD Session by invoking a URL for a First page of an application.
Click the Enterprise Web Developer/Examples tab for worked examples.