The situation:
I have multiple QR-codes; these all have the same format, i.e., they refer to a website, BUT since each QR-code is unique, the URL also contains the unique QR-id.
So QR-code id 1 contains a reference to URL, e.g.: https://mywebsite.com/processqr.php?id=1
QR-code id 2 contains a reference to URL: https://mywebsite.com/processqr.php?id=2
etc.
The problem:
When you first scan QR-code id 1, the browser of the mobile phone displays the webpage belonging to QR-code id 1. That works.
When you then scan - with the same mobile phone - QR-code id 2, the webpage of QR-code id 1 is again shown!!
However, this behavior does not occur with every mobile phone. With an iPhone 6 (using IOS 12.4.8 and Safari) the situation described above does not occur. With an iPhone 5SE, iPhone 8 or Android, this situation does occur.
What I have tried:
(1) Since this looks like a caching issue, I have tried disabling the cache of the generated webpage using the solution described here: How do we control web page caching, across all browsers?
Unfortunately that does not solve this problem...
(2) When you clear the cache - of mywebsite.com - on the mobile it again works; but only one time. If you then try to scan QR-id 3, it then shows the webpage of the previous QR-id scanned. However, clearing the cache manually after each scan is not a practical solution.
(3) The Apache webserver access log file does list the correct website URL contained in the QR-code. So on the server side the URL is received correctly, the correct webpage is then generated, but somehow the mobile phone keeps displaying the previous webpage.
Any thoughts? Thanks in advance!
Regards, Erik