I have a QR code generating link something like this https://example.com/6/4
Here:
=> 4 is ‘User ID‘
=> 6 is ‘Candidate ID‘
Means a user with only id 4 (after checking if he/she is logged in or not) should be redirect to a specific view with the details of candidate ID 6.
What i already have done:
-
Check if that user ID is currently logged in or not!
-
Candidate detail query with specific view.
I only need help how a specific user ID anywhere he is logged in can be redirected when this url is hit from controller?