Jump to content

Hiding queryparam


Recommended Posts

1 hour ago, Mehmet Emin said:

One option would be to get the parameter into a property of your main module during first call and redirect default to page www.xyz.de. This way the parameter would be visible only before during the redirection

In my opinion, this is the only solution...

Link to post
Share on other sites
On 11/2/2020 at 5:24 PM, Sherzod said:

In my opinion, this is the only solution...

Unless a redirect loads a new instance of the MainModule, and the parameter value is reset and lost.

But if you save the value to the db, with the remote IP, you can look it up as the new instance loads without parameters, and select which part of the app to use.

Link to post
Share on other sites
16 minutes ago, Ron said:

Unless a redirect loads a new instance of the MainModule, and the parameter value is reset and lost.

But if you save the value to the db, with the remote IP, you can look it up as the new instance loads without parameters, and select which part of the app to use.

Oops my bad! yes redirect would destroy the previous session so my answer is wrong.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...