you could just pass in in the address, eg: www.example.com?var1=$var1&var2=$var2 to get them use $_REQUEST['var1'] to pass an array you could use serialize($var1) and unserialize($var1) On 12/8/05, Chris Shiflett <shiflett@xxxxxxx> wrote: > > Curt Zirzow wrote: > > <?php > > $array = array('my', 'list', 'of', 'stuff'); > > $_SESSION['array_for_popup'] = $array; > > ?> > > > > And in the code that is called in the popup: > > > > <?php > > if(!isset($_SESSION['array_for_popup']) { > > die('you should not be here anyway, only on a popup is this allowed'); > > } > > > > $array = $_SESSION['array_for_popup']; > > // .. do your magic. > > > > // optionally clean things up. so the session var is removed. > > unset($_SESSION['array_for_popup']); > > ?> > > Don't forget session_start(). :-) > > (You might have session.auto_start enabled, but it's not by default.) > > Chris > > -- > Chris Shiflett > Brain Bulb, The PHP Consultancy > http://brainbulb.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >