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");
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

JOHNSON CONTROLS POWER MODULE SYSTEM 350 MODEL Y350R
$55.0
JOHNSON CONTROLS POWER MODULE SYSTEM 350  MODEL Y350R pictureJOHNSON CONTROLS DISPLAY MODULE SYSTEM 350 D350 AA-1C
$85.0
JOHNSON CONTROLS DISPLAY MODULE SYSTEM 350  D350 AA-1C pictureNOS Johnson Controls SPST HIGH RANGE TEMPERATURE CONTROL 200/550F A19AAB-10C
$95.0
NOS Johnson Controls SPST HIGH RANGE TEMPERATURE CONTROL 200/550F A19AAB-10C  pictureJohnson Controls T- 4002-201 Pneumatic Thermostat
$45.0
Johnson Controls T- 4002-201 Pneumatic Thermostat pictureNEW JOHNSON CONTROLS 3/4' N.O. VALVE WITHOUT ACTUATOR VB-3754-4
$32.99
NEW JOHNSON CONTROLS 3/4' N.O. VALVE WITHOUT ACTUATOR VB-3754-4 picture






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