sessvars Fix

replaced cookie function with sessvars.  Preview now works, allows for
2mb of storage and can be expanded to 10mb, however this would need to
be tested. Edit has to be fixed now.