During redirect, redirected url is losing hidden parameters

New to mod_rewrite? This is a good place to start.

During redirect, redirected url is losing hidden parameters

Postby kabbin » Wed Oct 28, 2009 11:17 am

Hi -
Here's the scenario, I have a very simple redirect from an existing url to another. The request has hidden parameters to POST on the server. The issue is that this redirect happens twice in split second succession and the 1st redirect has all the hidden params in it, but the 2nd redirect is loses some of these params. I'm using fiddler to track the requests/redirects and parameters being passed.

1. Any usual suspects to cause 2 redirect requests in place of one
2. Even if the 2nd redirect occurs, why is the 2nd request losing some hidden parameters before 'POST'ing.

The rule is very basic:

Code: Select all
   RewriteEngine On
   RewriteRule ^store/licenseLogin.jsp http://www.newdomain.net/licenseLogin.htm [R=301,L]
Posts: 11
Joined: Mon Jan 05, 2009 6:03 pm

Postby richardk » Wed Oct 28, 2009 11:24 am

As far as i know, you can't redirect POST requests without losing the POST data.
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 9 guests