David Harris
Top achievements
Rank 1
David Harris
asked on 09 Apr 2009, 05:19 PM
When using a custom .ashx inheriting RadUploadHandler to override the ProcessStream, I am finding that I am losing my Session state. If I also implement the IRequiresSessionState interface I will have access to session variables on the first call to ProcessStream, but subsequent calls have a NULL session variable.
Can anyone explain why the session variables are being lost after the initial call? And is there anything I can do in my handler to prevent this?
Can anyone explain why the session variables are being lost after the initial call? And is there anything I can do in my handler to prevent this?
5 Answers, 1 is accepted
0
Hi David Harris,
The RadUpload control is sening POST requests directly to the upload handler - this is the reason for the missing persistent session. Could you give us some more information about why you need it?
Kind regards,
Ivan
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
The RadUpload control is sening POST requests directly to the upload handler - this is the reason for the missing persistent session. Could you give us some more information about why you need it?
Kind regards,
Ivan
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
David Harris
Top achievements
Rank 1
answered on 12 Apr 2009, 08:23 PM
We're using a session variable to uniquely identify requests from a given client through to our WCF services (logged in user is not enough as multiple machines may share the same user account). What we have found is that the session variables are lost once a file upload is performed using the Rad Upload control. So for example a call to one of our custom WCF services will contain our session variable, but immediately after a file is uploaded, any subsequent requests to the WCF service no longer contain that session variable.
0
Hi David Harris,
Thank you for sending the clarifying information. Now we are able to reproduce the issue - we have logging it and will notify you immediately when the fix is available.
Your telerik points has been updated.
Regards,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for sending the clarifying information. Now we are able to reproduce the issue - we have logging it and will notify you immediately when the fix is available.
Your telerik points has been updated.
Regards,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David Harris
Top achievements
Rank 1
answered on 15 Apr 2009, 03:24 PM
I'm curious what you estimate the turnaround time on a fix might be? I'm hoping to go to production with our usage of this control next week...
0
Hello David,
We planed next week for research - is this time-frame appropriate for you?
Greetings,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
We planed next week for research - is this time-frame appropriate for you?
Greetings,
Ivan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.