
October 30th, 2002, 09:30 AM
|
 |
Charge into the Knight
|
|
Join Date: Jan 2002
Location: Orlando, FL
Posts: 276
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
How to pass session id to <iframe> source page?
How can I pass the session id to the iframe source page?
I have a page called upload.php that has an <iframe> tag that loads upload2.php page. I use the following code to validate the user in upload2.php:
PHP Code:
//This validates the user to see if they had logged in. If the had not then the user
//will be redirected to the login page.
if (!session_is_registered("TheVaildWord")){
header("Location: yourkickout.htm");
exit;
}
Any ideas? Thanks.
__________________
Every man is a fool for at least five minutes every day; wisdom consists of not exceeding the limit.-- Elbert Hubbard
|