Forum Moderators: coopster

Message Too Old, No Replies

Session managment-what to do?

session management isssues in php

         

sam_01

5:26 pm on Jun 16, 2008 (gmt 0)

10+ Year Member



i am using wamp 06 server and i want to use database as solution for my session managment...
is it possible for me to store a SESSIONID as the primary key of some other table of database...
is it possible for me not to destroy the a particular session stored as an ID of someother table and use it later on...
i hope i made myself clear....

eelixduppy

7:58 am on Jun 27, 2008 (gmt 0)



>> is it possible for me to store a SESSIONID as the primary key of some other table of database...

Sure.

>> is it possible for me not to destroy the a particular session stored as an ID of someother table and use it later on...

If it is stored in a table that you aren't touching in your delete and garbage collection methods then you should be fine -- it will remain there. Since you are storing this data into a database anyway, these methods have to be user-defined by you, which gives you full control over what you do with the session data. The two things that you've mentioned should be doable.

And Welcome to WebmasterWorld! :)