Session Filter implementation.