Kerala Microsoft Users Group

Session state issue

Latest post 04-20-2009 5:45 AM by Anuraj. 2 replies.
  • 04-18-2009 1:25 AM

    Session state issue

    In my application, I am using a flash control. This control is used for uploading files. From what I have read, Flash does not send cookies that were set in the browser with the uploaded file. This means that anything that uses cookies will not be accessible in the upload page. This means that sessions and forms authentication break using their default implementation, because they use cookies. This usually results in the #2038 error.

    As a workaround, I need to set session state as cookieless. This resolves the issue, but almost all the pages in my application use cookies and hence when I set session state as cookieless, the application does not work.

    How do I resolve this issue and get my flash control working with my application?

    When the going gets tough...the tough gets going..!!!

    • Post Points: 5
  • 04-20-2009 5:32 AM In reply to

    Re: Session state issue

    Friends,

    How do I set sessionstate="UseUri" for a particular page? For all the other pages, session state needs to be set as "UseCookies". Please help.

    When the going gets tough...the tough gets going..!!!

    • Post Points: 25
  • 04-20-2009 5:45 AM In reply to

    Re: Session state issue

    I don't think you can do that. But I am not sure Embarrassed

    Thanks

    Anuraj P
    http://www.dotnetthoughts.net

    THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
    BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.

    • Post Points: 5
Page 1 of 1 (3 items) | RSS