can be done with Javascript?

master
http://smcv.pseudorandom.co.uk/ 2009-08-03 06:01:50 -04:00 committed by Joey Hess
parent 9468c553e1
commit b188a25e15
1 changed files with 8 additions and 0 deletions

View File

@ -14,3 +14,11 @@ Xan.
> if at all. --[[Schmonz]]
>> Thanks a lot, Xan.
>>> Another possible trick would be to use some Javascript to make a
>>> "who am I?" AJAX request to the CGI (the CGI would receive the
>>> session cookie, if any, and be able to answer). Obviously, this
>>> wouldn't work for users who've disabled Javascript, but since it's
>>> non-essential, that's not so bad. You'd need to
>>> [[write_a_plugin|plugins/write]] to add a suitable CGI action,
>>> perhaps ?do=whoami, and insert the Javascript. --[[smcv]]