is a mysql temporary table unique for each user accessing the script that creates it...?

Posted by SpikETidE on Stack Overflow See other posts from Stack Overflow or by SpikETidE
Published on 2010-03-16T12:25:56Z Indexed on 2010/03/16 12:26 UTC
Read the original article Hit count: 263

Filed under:
|

Hi everyone...

While looking for a way to temporarily save the search results when a user searches for a hotel free between particular dates i came across temporary tables.

But certain questions are not answered even in mysql manual.... like...

  1. Will the temporary table be unique for each user that executes the script...? Or will it be overwritten when two different users run the script at the same time...?

  2. When will the table be destroyed..? When the user closes the browser window or just navigates away from the page in which the script runs...?

Thanks for your clarifications...

© Stack Overflow or respective owner

Related posts about mysql

Related posts about temporary-tables