I seem to remember that if you set the cookie expiration to -1 it would never expire. You could also just make it a very long time in the future. The 30 at the end of that calculation is the number of days. You could up that to 3000 and effectively it wouldn't expire.