I have an error page which, I would like to call from more than one pages in my site. In this error page, I pass a message(using the url for now), but I would also like to pass a link of a page too.
The error page will use this link to redirect the user to the page I want. I have thought to pass the link using sessions or having a form(method post) with hidden input. Which one is better? And is there any other way to do that?
Thank you in advance!