I want to design a web application using php ,that allows the user to sign in once into the mysql database and then over the course of several pages to perform several queries on the database using their name and password.
My question is how can I do this without asking the user to enter his name and password on every page so that a query can be performed on the database.My initial thoughts was to store the user name and password as session variables when the person initial signs in. My concern is if this safe enough as someone else may be able to access the session variables and get the user name and password. Can anyone offer any suggestions on the safest way of accessing a mysql database over several pages using the same user name and password without asking the user to give this information on every page which needs to run a query on the database. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php