Jump to content

question about destoying one session a reclaiming another


alwaysinit

Recommended Posts

Hi, I'm looking for an example of how to name or store a session along with all of it's data when a user logs in to my site. Then log them out while I run a certain xml.php script, and at the end of it log them back in. Using the previously named session to log them back in automatically to re-register all of their global session variables.(I checked all of the session sections at php.net, they did'nt show how to do this)

 

I'm trying to make a songlist.xml.php for use inside of an AS XML object in flash. The trick is I need to use sessions inside of the xml.php to have it play many different user's MP3s when they are logged into their profile, and also when they use my site's search script.

 

I'm pretty sure I can't "sendandload" within flash's "soundObject" to post variables to the xml.php, so I must use session data to dynamically render the xml.php. So I register new global variables when you look at a member's profile from my search script to have his songs rendered in the xml.php. So at the end of xml.php I plan to destroy the "SESSION(search)" and replace it with "SESSION(originallyloggeduser)".

 

It's the only way I can figure out how to make the xml.php work correctly for thousands of people's profiles and a search script.

 

Thanks if you can help me

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.