Time left @ Logout page
-
I want the username, ipaddress and time left to appear in the logout page or redirection page after authentication. Time left will refresh after refreshing the page. or some1 can gve a better code to automatically refresh the time left every n seconds. What are the variables for the said data? I tried this but username is blank. :
echo "Welcome = ";
echo $username; // also tried $sessionid still blank
echo "Youre ipadress = ";
echo getenv('REMOTE_ADDR');
echo "remaining time = ";
echo ''; // I dont know
?>
I use freeradius 2 in pfsense 2.1. Hope some 1 can help. -
for the username and ip;open captiveportal_logout.html which is in "/var/etc"
add this line anywhere you want to display the client username and client ip
LogoutWin.document.write('USERNAME =
');
LogoutWin.document.write('YOUR IP =');
-
Is it working?
-
for the username and ip;open captiveportal_logout.html which is in "/var/etc"
add this line anywhere you want to display the client username and client ip
LogoutWin.document.write('USERNAME =
');
LogoutWin.document.write('YOUR IP =');
Thank you for this ,,,tested and working
-
for the username and ip;open captiveportal_logout.html which is in "/var/etc"
add this line anywhere you want to display the client username and client ip
LogoutWin.document.write('USERNAME =
');
LogoutWin.document.write('YOUR IP =');
you are very welcome
Thank you for this ,,,tested and working