开发者

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

开发者 https://www.devze.com 2023-02-05 10:26 出处:网络
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 tha

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

精彩评论

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