Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cas::logout() does not work properly #25

Open
szewang2805 opened this issue Jul 31, 2015 · 2 comments
Open

Cas::logout() does not work properly #25

szewang2805 opened this issue Jul 31, 2015 · 2 comments

Comments

@szewang2805
Copy link

  1. Cas::authenticate(); login successfully
  2. Cash::getCurrentUser(); //i can get the user name; it is ok
  3. Cas:logout(); // i logout the current user
  4. Cash::getCurrentUser(); // that's ok, the result is blank

however, if i try to run Cas::authenticate in the same browser (does no close the browser), the web app
automatically log the prevent logined user, after that , Cas::getCurrentUser() return the previous user as logined.

I suspect that there is a session or cookie not being cleaned?
please advice

the expect behaviour is when first time logout, and Cash::Authenticate will redirect to login page.
Am i right?

@kandenas
Copy link

Getting the same behaviour - any solution to clean up?

@loren138
Copy link
Contributor

loren138 commented Feb 5, 2016

Is Cas::logout() sending you to the CAS logout page? (IE Are you sure your CAS session is dead?)
phpCas (and thus this project) us php sessions to handle logins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants