IFrame log out service after page refreshing - html

I've got a website with an iframe in it with another website and every time user refreshes the page he becomes logged out. I thought this is because reloading clears cookies (with JSESSIONID cookie), but navigation on other sites doesn't logs the user out.
For example, if I click https://google.com link, then click back button, I will be still logged in in the website that is in iframe. But if I click refresh button, I will be logged out.

Related

On mobile Chrome, if you click "back", you will have the last page states remained, is it possible to do it on desktop?

I found that if you are on a mobile chrome page, when you click a link to open another page (in the same tab), and then if you click "back" button, you will have the previous state remained.
For instance, on an interactive page (let's say it's examplea.com), you did a lot of actions and the DOM is totally changed, then you occasionally opened a new page in the same tab by clicking a link or somehow. The new page is exampleb.com.
On desktop, when you click the "back" button, it will redirects you back to examplea.com and everything is gone.
On mobile, when you click the "back" button, it will redirects you back to examplea.com with everything unchanged.
Is there any trick that I could make this also happen on desktop?

Page load from browser back button click

Is there a way to detect if the page load occurred from clicking the browser back button?
I have to take a different action on page load if it was due to user landing on the page by hitting the browser back button.

Stop redirecting back to the login page when the app is refreshed or reloaded

I have a web based application which the client side is implemented using angularJs. When the browser is refreshed after login into the application, the app again redirects to the login page. It will not stay in the same page where the reload is triggered. Any suggesting solutions would be highly appreciated?

Avoid back button from refreshing a page on IE/Chrome browser

I have developed a webpage which has an option to "Add link". On clicking the button, the user gets a pop up window to add a link. Once he submits the entry the base page refreshes to show up as a hyperlink and not "Add link" anymore. When the user clicks on the link, he gets redirected to the webpage belonging to the link. On clicking the back button on IE/chrome from the webpage corresponding to the link he comes back to the initial page but with an option of "Add link" again. Which is incorrect, he should just see the link and not an option to add link. However on refreshing the page it goes back to show the link. Noticing this issue only on IE and google chrome and works well with Mozilla Firefox. Kindly help.

Facebook page tab app is not visible for a person authorized as an page owner

I have FB page with a tab where an application is located.
The visitors are seeing it properly.
And I can see it to, but just before I authorized as a page owner. Right after that I see an empty tab with no iframe loaded. I checked a page code, a there is no iframe at all.
How to do it visible? Any ideas?
Thanks in advance.