doesn’t redirect to cincopa login page
Monday, July 28th, 2008Instead of doing it like you’ve described you should just do a login before the first call in every php page. remember the loginpage.php that you had long time ago… just call LoginCincopa ( like in the C# basecpAppPage.cs) the loginCincopa will check if session exists and if not it will do the redirect.
Also something that you’ve done is really making the page go crazy and redirect to itself endlessly
Solved the “endless redirects” problem, but regarding the first issue, I don’t think it will work as described. It’s a good idea, but with Wordpress it won’t work: wp uses only ajax, so everything si done via ajax. PHP is server-side and until the user clicks on refresh, it won’t trigger, so I think that, as it works now, it’s best. Can you do some tests to convince? Thanks
Now in Mozilla it works but I get a strange refresh. I don’t have a problem with the refresh but it shows that you are doing something different… I understands about the ajax that you’ve explained but it used to work few weeks ago so why it stopped working and why you had to make the change.
Also now in IE I get the cincopa login page and then the wp login page though I’m already logged in.
I don’t get the strange error in IE, what do you do? I am logged into cincopa (with cookie), I open the browser, go to /post-new.php and click the Cincopa icon and I see the list of folders. In the meantime I will solve some V2 bugs, not to waste our time.
Use IE to login to wp and click “Remember Me”, then in the popup click logout and enter your cincopa users again. now the wp login will appear in the popup. I know why it happens, I had the same problem with the cincopa login page when it is inside an iframe, IE will not allow ronica.net to access the cookies when inside the iframe. the solution was to add p3p header to the login page - does the plugin has an access to do that ?
Solved
bug status : closed
