change loop nesting so single session for each browser shared by all URLs