BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 03-30-2006, 06:25 PM   #1 (permalink)
New Member
Join Date: Mar 2006
Model: 7100t
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation building login form - history allows re-login by hitting esc key

Please Login to Remove!

Hi All.
My first post, hopefully someone has ran into this problem before and can help me.
I am building a WAP webapp for blackberry browser access where users are required to login.
Using the emulator I am able to to login, perform functions and then logout.
Problem is when I hit the 'esc' back button I am logged in again.
I tracked this down to the blackberry storing 'History' of each http post request. The history entry also contains what items were posted (userid, password) so when I select that history item the userid,password are sent and the user is logged in again.
I have set all the standard 'no cache' settings but cannot prevent the blackberry from storing what was posted to the login form.

response.addDateHeader("Expires", 1);
response.addHeader("Pragma", "no-cache");

Is this behavour a 'feature' of how the blackberry browser behaves?
Is there anyway to prevent a HTTP post via WAP being stored in the history for the blackberry? I would like the user to be force to retype their userid and password if they select the login form entry from their history list.

Any help would be most appreciated.
All the best and thanks for your time and expertise.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.