Hi. I have a Framed page, and in the "main" frame a userchoise is made. In
my "top" frame I have a table containing some status info, the current
logged on user (the username is saved in a SESSION variable) and some
stuff like that. If I in the "main" frame change user (its a drop down
list with choices from a MySQL DB) I would like to reflect that in the
status row in the "top" frame. If I do a "header( Location blablabla )",
that page is shown in the "main" frame, which of course is not desirable...
If I hit the "Refresh" button in Internet Explorer, everything updates
just fine, all the frames get updated and refreshed, including the "top"
frame with the new username showing. How do I do this refresh from withing
my php script that chooses a new user ? I have looked in the php-manual
but havent been able to find anything about this.
Any help would be very appreciated. I use PHP 4.3 on a RH 9.0 with Apache
2.0.47
Thanx.
/ZoombyWoof
my "top" frame I have a table containing some status info, the current
logged on user (the username is saved in a SESSION variable) and some
stuff like that. If I in the "main" frame change user (its a drop down
list with choices from a MySQL DB) I would like to reflect that in the
status row in the "top" frame. If I do a "header( Location blablabla )",
that page is shown in the "main" frame, which of course is not desirable...
If I hit the "Refresh" button in Internet Explorer, everything updates
just fine, all the frames get updated and refreshed, including the "top"
frame with the new username showing. How do I do this refresh from withing
my php script that chooses a new user ? I have looked in the php-manual
but havent been able to find anything about this.
Any help would be very appreciated. I use PHP 4.3 on a RH 9.0 with Apache
2.0.47
Thanx.
/ZoombyWoof
Comment