Pregunta de entrevista de Infosys

How to maintain same stae through the application?