Here the Q is not clear properly. More details r required. i.e. what os and what is the web and other related SW. If possible supply actual scenario, that helps to provide more correct answers.
Though I am trying to provide some information, that may help u. Session is related with any web application. Session basically allows to store some data between requests. That data is tied to an ID that gets passed between the browser and server in every request, using a cookie, in the URL or in GET/POST parameters. If I am not wrong (just guessing) u r asking for PHP sessions is files.... or Managing Users with PHP Sessions and MySQL is it ! !
There is also a mechanism called "mysql session save handler for php".
Last Wiki Answer Submitted: December 13, 2010 11:16 am by Subhendu Sen22,035 pts.
All Answer Wiki Contributors: Subhendu Sen22,035 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
A web session is just one of the many applications of the session concept. It is used in a variety of contexts that doesn’t have anything to do with a web application. But you are probably right in your guess, however, that wouldn’t be a MySql session, but a web session.
The OP could be referring to a interactive database session to manipulate data. It that was the case, one can connect to the database executing the following command:
Is this what you are looking for…
i.e.”
<?php
// this starts the session
session_start();
// this sets variables in the session
$_SESSION['test']=’testing’;
print “Done”;
?>
Let me know.
“Session is related with any web application”
A web session is just one of the many applications of the session concept. It is used in a variety of contexts that doesn’t have anything to do with a web application. But you are probably right in your guess, however, that wouldn’t be a MySql session, but a web session.
The OP could be referring to a interactive database session to manipulate data. It that was the case, one can connect to the database executing the following command:
Without more details we will be just guessing.