Session dumped through an iframe... need help. |
||
I recently wrote a script for my website to test an idea for a whitepaper that I'm writing. The script is as follows: <?php $DEFAULT_FILE = "index.php"; ?> <?php $url=fopen("url.txt","r"); ?> <?php $file = fgets($url); ?> <?php if (isset($file)) { $file2 = $file; echo "<div class=\"source\">\n"; $content=file_get_contents($file2); echo $content; echo "</div>\n"; } else { $file = $DEFAULT_FILE; } ?> The script is designed to work as a proxy, in conjunction with two other scripts that feed it. My question is, why is it that when a page is loaded using this script that any sessions do not register as being active. I have the website loaded normally with my session set to never expire in one tab of my browser and the same website loaded through this script, but the session does not register as being active. Should I be using different functions? I've seen source-viewers and other server-side applications access pages originally and have the sessions be active. I need help with this one guys. The whitepaper that I'm working on just won't be as good without a working model for this concept. Any help would greatly be appreciated. If you don't feel comfortable replying here with additional information, let me know and I'll get my email to you. Thanks Replies:
|
||
| CyberArmy::Forum v0.6 Generated In 0.01712 seconds |