server stuff to getvar/putvar/etc