NetTalk Central

Author Topic: Static page with dynamic content redirect problem.  (Read 2832 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Static page with dynamic content redirect problem.
« on: January 03, 2024, 03:46:19 AM »
Hello everybody,

I have a static page with dynamic content.
The page name is index.html and initially it is called without any parameters.
One  menu-option  (not NT) has an option which "calls" the page itself, this time WITH parameters.
Like:  /index.html?a=lng&b=en

I do not use the NT menu, because that would interfere too much with the "staticness" of the page.

As Bruce pointed out, I can retrieve the parameters in webhandler in the _sendfile method, and do some
processing.
Retrieving the parameters and the processing are successful. I checked that using trace.
After that I am a bit lost, because the index.html page is not refreshed after that. It is not even shown in the browser.
I have tried to use p_web.redirect(<with the link>) after the processing, but that did not work.

I hope someone can help me here.

Kind regards,
Ren? Simons
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Static page with dynamic content redirect problem.
« Reply #1 on: January 03, 2024, 10:15:28 PM »
the index.html page is not refreshed after that. It is not even shown in the browser.

I have no idea what you are trying to say here.

I fear you need to make an example app showing the effect. It's impossible to debug what you are doing without seeing it.

Cheers
Bruce