Friday, February 22, 2013

jQuery Signature Pad - Auth Lost on Load

Hi All,

I am using Thomas Bradley's signature pad plugin for jQuery (i am using v1.9.1).  I am loading the view that contains the sig pad with AJAX.  I am using Cake2.3 and the Auth component for user authentication.  Everything works perfectly in FF and Chrome, but not in IE9.  As soon as I load the view with the sig pad, the Auth component info is lost.  I can no longer load any more pages (as they are protected via Auth) and a refresh sends me to /users/login, which is NOT the redirectUrl I had set.  Again, only in IE9 do I have this issue.

I have tried all the suggested settings in core.php - security low, checkAgent false, etc, etc with no luck.  I cannot imagine what is happening inside that sig pad plugin that would single-handedly demolish the Auth object, but that's what I have narrowed it down to.  I have reached out to the author of the plugin but am not confident I will hear back.

If anyone has any suggestions to try, I would be most grateful.  I have been banging on this for 3 days now and cannot admit defeat.

Bake on,
Jonathan


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: