Discussions
Categories
Groups
Advertisement
Child Item
Home
Topics
Technology & Internet
Software & Web Development
Development
php parent refresh problem
Peter B
Once users are logged in on my site they click perimeter links which changes the content in an iframe in the center.
This is fine however, if their session times out and then they click a link to change the content of the central iframe I get errors because they are not logged in.
It is easy to modify this so the central iframe page redirects to a 'please log in' page. However I cannot get the parent page to refresh. The parent pages still displays you as being logged in however you are not.
I understand there is a way using Javascript. I would ideally like to avoid that solution as I want to facilitate users with Javascript disabled.
Thanks
Find more posts tagged with
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
Advertisement
Advertisement
Comments
Seth Brundle
What kind of errors do you get?
As php is a server side language, it will not be able to refresh the page. You could use HTML to do this...
<meta http-equiv="refresh" content="60" />
This will refresh the page every 60 seconds