Spartk web on webpage login in issues

Hiya,

Installed spark web and then put it as an iframe as such to integrate it on a tab .

When the user click on the name of that tab which is called chat, they log in and chat but when they go to another tab on the same page and then come back they need to log back in.

Is there a way to keep them loggied it until the time out value or they log off or close the page itself.

Thanks for the help in advance.

Cheers,

Raj