Announcement Announcement Module
No announcement yet.
Redirect question Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redirect question


    In the spring project that I work on there are several features that require the user be logged in. If, in the login page, I want to see from which page I was redirected I just check the "referer" header from the request and I see the page that redirected me to the login.

    The problem is that there are certain pages that have two or more controls that redirect me to the login page and I would like to find out which of those controls were used. So, if I have a "Delete" and an "Update" button both on the same page, both requiring the user to be logged in, how can I find out in the login page which of these 2 buttons were pressed? Using the request's "referer" header doesn't work anymore.

    Thank you...