thanks for the help, but i do have that line in there (admintedly it is burried in a mess of other stuff (the expect_login function... but perhaps it isnt treating it like i thought it would in the function even though i passed by reffernce.) i will look into that, again thanks for your help