#4295

Bug fix for:
#4295 Problem when session expires while importing file

(I am a GSoC aspirant)