The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Redirect to desired url after login - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: General (https://userspice.com/forums/forumdisplay.php?fid=20)
+--- Forum: New to UserSpice? (https://userspice.com/forums/forumdisplay.php?fid=22)
+--- Thread: Redirect to desired url after login (/showthread.php?tid=886)



Redirect to desired url after login - steve - 12-15-2017

Hello, I'm new here. When I share an url with parameters to a user so he can direct to one of my pages. He is required to log in. The problem is that after logging in, all parameters along with that url are gone, so he can't redirect to the desired url!
E.g: My URL is http://www.essdepots.com:82/KTproj/users/station.php?RFID=R2abe8b9f. When clicking on the link, it directs to login.php with dest = users/station.php, without parameters RFID=R2abe8b9f.
How can I customize my code to fix that problem


Redirect to desired url after login - Brandin - 12-16-2017

Welcome Steve! I've brought this up before and I haven't had a fix. However, I would look at the way the reAuth us_helper works and if you can get a solution from that! Sorry I don't have time to do it right now!


Redirect to desired url after login - dsuggs - 12-18-2017

That helped greatly and solve the issue I was having thank you very much.


RE: Redirect to desired url after login - JUG - 12-17-2018

(12-18-2017, 02:11 PM)dsuggs Wrote: That helped greatly and solve the issue I was having thank you very much.

Hi dsuggs!

I have similar problem like you had. Can you please post fix for this?

Regards, Jakob