javascript - Session Expires in Frames -
i developing web application , requirement specified below.
- i need display 4 websites in single browser window...(which implemented using frameset)
- i need refresh whole page (which refresh frames inside ) after 1 minute update frames content....(which implemented using java script)...
however in 1 of frames need login 3rd party website. able login , able view content after login...however when page refresh happens after 1 minute page redirected login page again , have login after each page refresh...
i googled , found might due frames not set cookies.for have implemented p3p policy problem persists...
please provide solution if knows this...
the javascript used refresh page
function timerefresh(timeoutperiod) { window.settimeout("location.reload(true);", timeoutperiod); } window.onload = timerefresh(60*1000);
if cookies 3rd party site set p3p looks fine , can navigate fine on minute without losing session problem must timerefresh()
as can't customized url of 3rd party site in order issue specific reload , assuming have no control on third party site, suggest different. set javascript load image site (the logo or else won't change, or alternatively script or page) every minute frame have control over. because browser same, existing cookies login referenced , extend login.
Comments
Post a Comment