I'm having a problem with the Back Button on the Nokia browser. My application is a simple email app that lets the user compose an email on screen 1, then when they click send, it goes to screen 2, which actually sends the email, then redirects them to screen 3.

The problem is that if the user hits the Back button from screen 3, the browser goes to screen 2, which sends the mail again, and redirects them to screen 3. Doing this repeated results in multiple emails being sent.

All the screens have been set to no caching, but apparently, all the form parameters from screen 1 are cached and sent when using the Back button.

In addition to this problem, the http_referer server variable seems to be blank so I can't tell where I'm coming from.

Please let me know how to get around these problems.