I'm working on a project where the user session is going to be replaced when clicking on a link. Since all the data in the headerpage, footer and content (i.e. the entire page) depends on the session data, the entire page (all subpages) has to be reloaded. I've tried bookmarkablepagelink, but i can not put an action (changing the session) on this link. I've also tried to make a link that changes the session and afterwards click the bookmarkablepagelink programmatically, but i can't find a way to click the link without using javascript (and that is no alternative in this project).
Any good suggestions how to do this?
In the onClick
method for the link, do the session reset and then
setResponsePage(getPage());
and the page should refresh nicely.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With