Last post Oct 10, 2013 10:49 PM by Shawn - MSFT
Oct 09, 2013 07:28 AM|shallubhalla|LINK
Could you please help me in this problem as upload file works fine on loacal as well on server after publishing on server.
But in case of published code just after uploading documents successfully if i navigate to some other page get error of "Object refference..."
i found the reason is session goes clear out.
But it run fine at local and able to navigate pages.
Please suggest with your ideas what may be the all possible reasons:-
Its urgent. thanks in advance.
Oct 09, 2013 07:35 AM|arjun851|LINK
1. Check the path or Folder (used for FileUploadControl) is available in the published copy or not.
2. Check the object's, datatable's or dataset's are initiated or not, including all the Session & Viewstate variables in that particular page.
or add the code for better understanding
Oct 10, 2013 02:29 AM|gova77|LINK
are you deleting any folder after uploading file ?. deleteing folder from website causes session expires
Oct 10, 2013 10:49 PM|Shawn - MSFT|LINK
According to your description, when you redirect to the other page on server side, the session goes clear out. For this situation, you need make sure that the redirect is not crossing domains. Because the cookie tracking the session is lost, since you are
For more information, you could refer to the following link: