Is there any way to set an expiration time for a local shared object as you can with a cookie?

Thanks.