F
F
FTM2011-05-22 19:50:05
ActionScript
FTM, 2011-05-22 19:50:05

Calling Loginza widget function from another script?

Good day to everyone who worked with loginza. Faced a problem. The widget is loaded in an iframe. After authorization, I save the session of the authorized user. By clicking on my own “exit” button (does not apply to the login), I clear the session. But in this case, the widget still sees an authorized user, and you need to click “This is not you” in it, i.e. execute the Loginza.resetImmediateResult function.
Actually, a question. How, by clicking on your own “Exit” button, call in a php script (maybe in js) also the exit from the widget? I asked a question on the forum logins, but they are still silent there. Thanks for answers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Savostin, 2011-05-22
@savostin

IMHO in any way - this is a loginsy frame and it puts cookies to the user on its domain.
You cannot call resetImmediateResult or clear cookies on the Loginza domain.
Try to better ask Loginza herself for advice - their support is quite adequate and fast.

K
Konstantin, 2011-05-22
@Norraxx

Maybe ask the iframe parent to "clear" the cookies + then send an AJAX request to the server with the logo?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question