Reputation: 5729
Our Wicket 1.5 application has lots of links for different tasks. We have a requirement that links our application generates have to be unique (and non-bookmarable).
How can we achieve this?
Upvotes: 1
Views: 133
Reputation: 5575
By default every link is not bookmarkable as it contains the Page Version Id and is tied to a specific session.
Edit: Bookmarkable Links and Stateless Pages beeing the exceptions of this rule. Don't use them and you're safe.
2nd Edit: To make sure, there are no valid URLs from another session that work in a current session, you could add some unique value to your links by using or implementing a MountMapper as generally described here. This mapper could include a variable from the current websession as a parameter and check for that value when reading an URL...
Upvotes: 1