in reply to How to avoid browser time out?

On the apache server, configure Timeout to be longer.

Client-side is up to the client I guess. In Firefox, go into about:config and filter on "timeout".