[pmwiki-users] wikish checking if user logged in

Mark Lee mark.lee.phd at gmail.com
Fri Jun 28 22:44:02 CDT 2013


I have a solution for interaction between wikish and javascript for my
applicationt. I have a file called Experiments.Locations that I write data
to with the freshest values of some parameters, but I only want to do this
if I am logged in. If I am not logged in, I will not write to the file, but
use the values set when I was last logged in. The version of wikish code
that I have does not checked to see if I am logged in as admin, so if I am
not logged in I get errors, and then it loads in the values last set. How
to I check in wikish if I am logged in to avoid the erros when I am not
logged in?
-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130628/a4cab347/attachment.html>


More information about the pmwiki-users mailing list