[opencms-dev] redirects, part2

Paul Pogonyshev p.pogonyshev at finamatics.com
Fri Jun 30 13:41:48 CEST 2006


Hi,

OK, to clarify the previous request.  I have this form
in a page:

<form name="letterform" method="post" action="/opencms/opencms/system/modules/.../pages/letter.html">
  <input type="hidden" name="uri" value="/de/ueberuns/index.html" />
  <input type="hidden" name="site" value="/sites/foo" />
  <input type="hidden" name="__locale" value="de" />
  <a href="javascript:submitForm('letterform')" title="Kontakt"><img ... /></a>
</form>

and a page with

<content><![CDATA[<META http-equiv="refresh"
                        content="0;url=javascript:submitForm('letterform')">]]></content>

This works by submitting a form with a number of hidden parameters.
The drawback is that the browser first shows an empty page (only
navigation, no content) and then `refreshes' to the requsted page
in the module.

The qustion is: can I emulate it on server side, without asking a
browser?

Paul



More information about the opencms-dev mailing list