This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Usernames in log
#8
(20.04.2017, 15:37)admin Wrote: You can use request.username in that lp file.

Yes this is the most elegant solution and only interesting thing is that when nobody is logged in (only get method in webbrowser) it returns "admin".

With this method .lp file should looks like:
Code:
<?
print(request.username)
?>
Reply


Messages In This Thread
Usernames in log - by Thomas - 07.03.2017, 12:14
RE: Usernames in log - by admin - 07.03.2017, 12:53
RE: Usernames in log - by buuuudzik - 07.03.2017, 13:26
RE: Usernames in log - by cekca - 20.04.2017, 12:06
RE: Usernames in log - by Thomas - 08.03.2017, 19:18
RE: Usernames in log - by buuuudzik - 20.04.2017, 15:20
RE: Usernames in log - by admin - 20.04.2017, 15:37
RE: Usernames in log - by buuuudzik - 20.04.2017, 16:16

Forum Jump: