<div dir="ltr"><div><div><div><div>Hi<br><br></div>I'd appreciate it if someone could enlighten me as to why the following isn't working as expected. I'm trying to make the proxying to php dynamic - in other words, depending on the authenticated user, requests will be proxied to that user's PHP socket.<br>
<br></div><div>Both the login and auth locations are proxied to a Perl Dancer app.<br>
<br></div><div>Here's the auth app's /auth route:<br><br></div><div>get '/auth' => sub {<br> if (session('user') && session('time')) {<br> my $time_now = time;<br> if ($time_now - session('time') < config->{'session_timeout'}) {<br>