# SQL - concurrent sessions

**URL:** <https://forum.kirupa.com/t/sql-concurrent-sessions/282233>\
**Category:** programming\
**Created:** [February 19, 2009, 6:58am UTC](https://forum.kirupa.com/t/sql-concurrent-sessions/282233 "2009-02-19T06:58:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IBeMMoran](https://avatars.discourse-cdn.com/v4/letter/i/71e660/32.png) [@IBeMMoran](https://forum.kirupa.com/u/IBeMMoran)\
**Post date:** [February 19, 2009, 6:58am UTC](https://forum.kirupa.com/t/sql-concurrent-sessions/282233/1 "2009-02-19T06:58:20Z")

</div>

Hi all,

Question:

I want to set up a Flash file running on a website that connects to a backend DB for data retrieval using PHP. Easy enough. However, all I can find are basic tutorials using all the db code every time in every php file. I want to set this up on a website for concurrent usage. So I want to use PHP classes with ongoing sessions and db connections so every time my flash file / AS tries to call db functions I dont have to reconnect to the db and reselect my table and records to update. I also want to keep almost all of the code in the backend only using AS / Flash to pass values and display for user interaction.

What is the best way to accomplish something like this or is it even possible? Can they handle persistent connections/sessions?

Thanks,

Michael G Moran.
