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
Slow redirect to Login.php - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Slow redirect to Login.php (/showthread.php?tid=819)



Slow redirect to Login.php - PeterAarts - 11-05-2017

Hi,

I wanted to redirect the users directly to the login-page. So I made the index.php (with custom content) a private page.
The redirect mechanism to the login page works but very slow, it takes almost 30 seconds.

What can I do to improve customer experience?

Peter


Slow redirect to Login.php - Brandin - 11-05-2017

That seems excessively long...do you have any custom scripts running during the login process? Are you connecting to a remote server? How big is your users table?


Slow redirect to Login.php - PeterAarts - 11-05-2017

I don't have other scripts running, it is my server at home en there are 5 users currently created. So not that much.
It is the same whe using logout, but I expect that is due to calling login.php.
What kind o information whould help to understand my problem a bit more?



Slow redirect to Login.php - Brandin - 11-06-2017

It is very odd that this is happening...have you had any issues with any other slow scripts on your server? What US version are you using?


Slow redirect to Login.php - PeterAarts - 11-06-2017

Hi Brandin,

I'm using version 4.2.11, To investigate the issue, I'll we re-install the objective construction again with 4.2.11 and 4.3 and to see whether I can reproduce the issue. It might be looping that is causing this or asynchronic delays.