asp.net - Login with Jquery Colorbox Plugin -


i used jquery colorbox lightbox plugin in order let users login site ,this plugin use signin.aspx page (which made) in order evaluate user's credentials, problem when try signin ,i'm facing error: blocked frame origin "http://www.example.com" accessing frame origin "https://www.example.com". frame requesting access has protocol of "http", frame being accessed has protocol of "https". protocols must match. idea(s)? appreciate

the page frame on , page loading lightbox (signin.aspx) must both on same domain (including protocol). called same origin policy.

if want popup same protocol, use protocol-less url:

//example.com/signin.aspx 

this use protocol of parent document (http or https)


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -