Unable to Set Session Variable value using Anchor Button

Hello All,

I am using session storage to route to different pages.
When I use a normal button, I am able to set values upon click to the session variables and I can use the session variable values in the next page.

With anchor button when I use on click event>>set values, it does not store values to the session variable. Is there a way to store session variable values using Anchor Button.

I want to use Anchor Button because I can then open the page into a new tab, while using the browser>>goto function I do not have option to open the page into a new tab.

Update to the original post:

The issue of unable to store session variable arises only when the Target = _blank for the anchor button.
If Target= _default then the session variables are stored as intended & the new page also opens in the same tab.

However, I am looking to open the page in new tab with the session variables.

Have a look at this topic where Ken ( @mebeingken ) states the obvious.

Thanks Ben for sharing the post.

1 Like