diff --git a/source/CAS/Client.php b/source/CAS/Client.php
index <HASH>..<HASH> 100755
--- a/source/CAS/Client.php
+++ b/source/CAS/Client.php
@@ -1202,6 +1202,9 @@ class CAS_Client
                     flush();
                     phpCAS::traceExit();
                     throw new CAS_GracefullTerminationException();
+                } else {
+                	phpCAS::trace('Already authenticated, but skipping ticket clearing since setNoClearTicketsFromUrl() was used.');
+                	$res = true;
                 }
             } else {
                 // the user has already (previously during the session) been
#<I> Fix for case where already authenticated, but given new proxy ticket.

When a proxied service receives a second request with a valid session cookie
the authentication is still valid. If a proxy ticket is also included it
is superfluous and can be ignored while using the existing authenticated
session.

This change ensures that isAuthenticated() continues to return true based on
the valid session cookie, ignoring the extra proxy ticket.