I have been asked if it would be possible to return a user to the page they were on in VuFind (1.2) after they have logged on. Our KEVEN theme has the login form on every page, and users find it frustrating that they are taken to the default MyResearch page instead of the one they currently on.
I have tried capturing and using $_SERVER[‘HTTP_REFERER’] in My Research/Home.php which works ok - until a user gives incorrect login details. When this happens the details of the referring page are replaced with MyResearch/Home when presented with the login page again (and then goes into a loop when the user provides correct credentials).
I am looking for any advice from anyone that might have tried this, before I spend too much time on something that is difficult to implement.
Stewart J Brownrigg
Learning & Research Development, Information Services, University of Kent, Canterbury, Kent, CT2 7NF, UK
+44(0)1227 823621; S.J.Brownrigg@kent.ac.uk