i am writing small application where i have a simple login form. it accepts POST data and if login is uaccuesful, it redirects the user to another page.
The problem is that on Nokia series 40 default browser it started to get warning when i use redirection just after using POST submition. I get following warning:
"Data you are sending will be redirected to another server. Continue?"
It is very annoying as it happens many times in the app and users instead of focusing on the content, they just need to confirm the redirection many times.
The strange bit is that i started to get this warning week ago, probably during some changes in the header(i guess). So this code worked ok on the same phones/browsers without any warning.
For the sake of simplicity i have removed db check in the following example that causes these warnings.
?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<form action="index2.php" method="post">
<input name="usr" type="text" size="10"/><br />
<input name="psw" type="password" size="10"/><br />
<input type="submit" value="Login"/>
Warning are not shown if i use "get" instead of "post" method in the <form> tag, but i need POST cause GET is limited on 255 chars.
Can someone please help me and tell me what to change to get rid of these warnings?
Thanks in advance