# Sessions and seeing from new windows

**URL:** <https://forum.kirupa.com/t/sessions-and-seeing-from-new-windows/267741>\
**Category:** programming\
**Created:** [August 5, 2008, 10:26am UTC](https://forum.kirupa.com/t/sessions-and-seeing-from-new-windows/267741 "2008-08-05T10:26:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CreativityAwait](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@CreativityAwait](https://forum.kirupa.com/u/CreativityAwait)\
**Post date:** [August 5, 2008, 10:26am UTC](https://forum.kirupa.com/t/sessions-and-seeing-from-new-windows/267741/1 "2008-08-05T10:26:19Z")

</div>

Hi All,

I’m using some script from evolt which has a cool login and admin functions.

Its been great! But i’ve hit an issue.

I have got a file which echos out the username, ie echo $session-\>username;  
This works fine when I call the php file straight from the window.

But I have a flash file which uses sendAndLoad and asks that php file to return the username. It then returns it as guest. I don’t know why its losing it along the way…

Any ideas!?

Andy
