[SOLVED]url parameters work only first time

Answered
0
0

Hi,

if I write a url with parameter for example http://localhost:30662/default?myvar=foo

wisej reload the Main and read with querystring the value in myvar. ok,

but for all the next time the Main is never call

how do I do?

Cristian

  • You must to post comments
Best Answer
0
0

Hi Cristian,

It doesn’t call Main() again because it’s reloading the previous session and state of the application.

There are a few ways you can deal with this:

  1. Check out the Wisej Application class (ApplicationRefresh event): https://docs.wisej.com/api/wisej.web/general/application
  2. You can add your query string logic in the Form / Page Appear event.

 

Let me know if you have any other issues or questions about this!

Best regards,

Levie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.