开发者

How to integrate 3rd party session into my website in iframe?

My website integrates some 3rd party w开发者_运维知识库eb pages using frame. Both my website and 3rd party website maintain own session separately. I am wondering if it is possible to sync them so that my session will not be expired when user only click buttons in iframe.


You would need some code on the parent window, that refreshes the parent window every x minutes. It would kill whatever the client is doing in the iframe though.

Or the parent window could do ajax requests to the server every x minutes to keep the session alive.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜