PDA

View Full Version : Store a user variable during session


cuerty
02-29-2004, 02:25 PM
Hi,

I'm writing a hack for accept certain conditions before see a specific forum (Like older-18).

The only problem that i've found in my code is that I don't know how to save the reply to that during the session, in other words: how can i store a variable (and retrieve it) setted during the user session?

Thanks.
:ninja:

Andreas
02-29-2004, 03:50 PM
You could add a column to table session.

Or if you want this only for registered users you can use a non-editable, non-visible profile-field.

cuerty
02-29-2004, 04:33 PM
But that will don't decrease performance?

Thanks for the reply.

Andreas
03-01-2004, 12:05 AM
Well, depends on how often you are going to update this value.