Hello,
i try do code a simple webservice to check a users capabilitys from an extern server.
my webservice parameter s would be something like "userid", "courseid" and "capability".
all i want is a TRUE of FALSE but the accesslib need config.... needs... starts session and so
on.
is there a way to get this information without cluttering the session dir with unused guest sessions?
any hint will be greatly welcome!
best Regards,
Sven T.
In reply to Sven Trümper
Re: has_capability webservide... session/$CFG... problems
by Sven Trümper -
Ok, i got it: i've just investigated how Moodle's CRONs work... no client... no cookie.. "simulated" session...
Everything works well now... thanks for the hints ;)
bye,
sven
Everything works well now... thanks for the hints ;)
bye,
sven