Issue #11 (Browser Session index not reset)

Offering you the fix I put in for he session index not being reset. 

Not a java developer so feel free to take it or not. 

Thanks!