RadUploadHandler losing Session variables

6 posts, 0 answers
  1. David Harris
    David Harris avatar
    9 posts
    Member since:
    Apr 2007

    Posted 09 Apr 2009 Link to this post

    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?
  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 10 Apr 2009 Link to this post

    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.
  3. DevCraft banner
  4. David Harris
    David Harris avatar
    9 posts
    Member since:
    Apr 2007

    Posted 12 Apr 2009 Link to this post

    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.
  5. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 15 Apr 2009 Link to this post

    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.
  6. David Harris
    David Harris avatar
    9 posts
    Member since:
    Apr 2007

    Posted 15 Apr 2009 Link to this post

    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...
  7. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 17 Apr 2009 Link to this post

    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.
Back to Top
DevCraft banner