RE: [PHP-DB] Session variables and arrays

2002-10-30 Thread Ryan Neudorf
Here are the results: is_array(): gettype():string strlen():5 > -Original Message- > From: Peter Beckman [mailto:beckman@;purplecow.com] > Sent: Wednesday, October 30, 2002 8:57 AM > To: Ryan Neudorf > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-DB] Session variables and

RE: [PHP-DB] Session variables and arrays

2002-10-29 Thread Ryan Neudorf
($_SESSION['categories']) it shows the contents of the array. Anyways, I did the print ":::{$_SESSION['categories']}:::"; and got :::Array::: Hmph - Ryan > -Original Message- > From: Peter Beckman [mailto:beckman@;purplecow.com] > Sent: Tuesday,

[PHP-DB] Session variables and arrays

2002-10-29 Thread Ryan Neudorf
I'm having a problem with session variables and arrays. I'm building a multi step sign up form and I need to store all the variable until the final step, when they are inputed to a database. I thought the best way to do this would be to store the contents for $HTTP_POST_VARS in session variables. T

[PHP-DB] session_destroy() problem.

2002-09-30 Thread Ryan Neudorf
Ok. What is the best way to destroy a session. I have a logout page which is supposed to destroy the session but it doesn't seem to be working. After the user logs out they are take back to the log in page, which is all fine and good. But if the user tries to go to a restricted page they are let