First post, be kind.
I’ve been developing my first application and during testing noticed
that pressing the ‘back’ button didn’t trigger initialisation code
contained with the action code.
This mattered to me because I cache information in the session and clear
it out at the end of a transaction or on a cancel. Pressing ‘back’,
though seemingly a cancel, causes the app to display erroneous
information because the cancel processing has not happened.
To get around this I have added the following to my application.rhtml
pages work just fine as you’d expect) I was just wondering whether this
was in fact a generic requirement and whether I should file a bug
Has ‘back’ caused anyone else grief or is it just me? Is there a railish
way of coping with such user actions?