This is very common where Recruitment consultants are uploading CVs from Vendor portal.
If their session is expired while uploading the CV, the system considers the CV ka source as job-portal instead.
This can be easily resolved by putting source in a cookie once and ensuring we read the source from there so that even the session is timed out, the system still recognizes the source correctly.
Other solution is to ensure we setup something like a keepAlive Ajax which keeps refreshing the session of the vendor regularly and never logs them out from the portal