Question about the session page stack [message #1172] |
Mon, 26 November 2007 12:39 ![Go to next message Go to next message](/theme/default/images/down.png) |
allspiritseve
Messages: 2 Registered: November 2007
|
Junior Member |
|
|
Is the session page stack deleted every time a menu task is requested? According to the article about back button blues, the menu script should look for itself in the stack, not find it, and redirect to the last page in the stack, but I know this isn't what happens.
Thanks,
Cory
|
|
|
|
|
|
Re: Question about the session page stack [message #2143 is a reply to message #1175] |
Sun, 21 June 2009 09:58 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
AJM
Messages: 2361 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
It is possible that by "If you click on another menu task you'd expect to be taken to that menu task, not the last page in the task" that you mean a task which is selected from a menu button, and not a task which is a menu.
If this is the case then there is a reason why, when returning to such a task, that it displays the same page that it last displayed instead of reverting back to the first page. This is because of the Keep Data on Exit switch which is available on the Update Task record. If this is set to 'Yes' then the task's state will be preserved in the session data so that it can be restored when the task is next selected. If this is set to 'No' then the task's state will be lost, which means that when the task is next selected it will start from an initial state.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|