Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing session data in a MySQL database

Status
Not open for further replies.

MJAZ

Programmer
Aug 1, 2006
73
US
Hello! I am using the built-in PHP session functions and want to store that data in a MySQL db. Any ideas on how to do it? Thanks in advance.

Matt
 
>> I am using the built-in PHP session functions and want to store that data in a MySQL db. Any ideas on how to do it?

The answer to your question is Yes I'm sure a bunch of us have ideas on how to do it. I don't think that's the answer that you want though. You didn't give any information to indicate what your real question is. Maybe you could explain what you've accomplished and where you're stuck and what you've tried.
 
The following is the method I have used in the past:

Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
or take a look in the faq section. sleipnir214 has provided a full solution: faq434-2037
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top