Good morning Chris, I've used something like the following for logout with phpCAS:
require_once 'CAS.php'; phpCAS::client(CAS_VERSION_2_0, 'your.cas.url', 443, 'yourcascontext'); phpCAS::setNoCasServerValidation(); phpCAS::logout(); You would substitute your own CAS values for your.cas.url and yourcascontext. I hope it helps. Thank you, -Neil From: Chris Cheltenham [mailto:[email protected]] Sent: Thursday, October 29, 2015 6:26 AM To: [email protected] Subject: [cas-user] logout Hello Everyone, Has anyone written php code for a logout button in my header. I am not a web developer yet being asked to do so. If any has that code to share I would very much appreciate it. I have tried a number of things without luck googling. After that I need to run a script to kill the apache session cookie created y mod_auth_cas. But one thing at a time. Thank You; Chris Cheltenham [email protected]<mailto:[email protected]> SwainTechs 10 Walnut Grove Rd Suite 110 Horsham, PA 19044 888-905-5767 / X407 -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
