Why Session got killed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sijugeo
    New Member
    • Jul 2007
    • 42

    Why Session got killed

    When I am uploading a file to a folder inside Bin, the session is lost. Why session is lost there? How can we rectify it?

    Regards,
    Siju G
    Last edited by Frinavale; Feb 11 '09, 04:01 PM. Reason: Moved to ASP.NET Answers from .NET
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Originally posted by sijugeo
    When I am uploading a file to a folder inside Bin, the session is lost. Why session is lost there? How can we rectify it?

    Regards,
    Siju G
    That is the default behaviour.. If there is any change in the web.config or the bin folder the Microsoft .NET Framework restart the Web application... Possible solution would be to keep the "file" in some other folder ...

    Comment

    • sijugeo
      New Member
      • Jul 2007
      • 42

      #3
      Thanks DeepBlue. I tried to move that to another folder. But now the access denied message is showing when hosting. Whether we have to give any other permission. It's working fine in local.

      Thanks,
      Siju

      Comment

      • PRR
        Recognized Expert Contributor
        • Dec 2007
        • 750

        #4
        You will require rights for that folder...(for asp.net worker process ).. impersonation will do the trick

        Comment

        Working...