Change cookie expiration time to a day; that also solves the numeric overflow problem that would happen in java, since the expiration time in milliseconds for a year cannot fit into an int.

Guard against IndexOutOfBoundsException that can occur when user hits the "Delete" button and there are no cookies to delete.

Patch by: rdayal
Review by: jat

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2927 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed