You Are Here:

Community: Developer Discussion Boards

#1 Old postfield data lost for back operation on 3410 - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 1
spacehog
Offline
Registered User
I have the following deck (deck #1)...

<wml>
<card id="foo">
<p>
<anchor>
<go href="deck2.wml" sendreferer="false" method="post">
<postfield name="requiredParam" value="72"/>
</go>test
</anchor>
</p>
</card>
</wml>

When the anchor on deck #1 is selected, a new deck (deck #2) is loaded. Deck #2 contains a similar anchor link to deck #3. When I am viewing the first card in deck #3 and select the back button on a Nokia 3410 to reload deck #2, the server receives a GET request with no parameters. This seems to work for all other phone models we have tested.

What is the recommended workaround for this problem so that I can preserve the parameters of the original POST operation? I am not setting the no-cache response header. I would use href parameters in a GET server request but that solution has its own problems.

FYI, I do not have access to test the behavior of the 3410 myself so I am getting snoop info from our testing team abroad and have to assume their diagnosis of the problem is correct.

Thanks for any help or insights that might be provided here!
Reply With Quote

#2 Old RE: postfield data lost for back operation on 3410 - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 3
w33els
Offline
Registered User
Don't assume your test team are testing correctly.

Get the Nokia ToolKit installed and test it yourself. It will show you the exact request sent to the server. I have something similar (post with postfields) and the back button initiates another post request. My application is slightly different in that the responses are set to no-cache (using http no-cache headers, and http-equiv headers in the wml content).

--
Roger
Reply With Quote

#3 Old 2003-07-10, 11:26

Join Date: Apr 2003
Posts: 25
alanjeeves
Offline
Registered User
hi,

I've got the same prob. It works fine in the emulator but on the actual mobile (3410) it seems that it doesnt send the post fields - it works ok on other mobiles but not 3410!

Is there any work around - without using GET req. method

alan.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia