BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-30-2006, 05: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");
response.addHeader("Cache-Control","no-cache,post-check=0,pre-check=0,must-revalidate,no-store");

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.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.