Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxControlToolkit AsyncUpload Creates New Session on upload completed

$
0
0

I am using the Ajax Control Toolkit 3.5 (The project cannot be upgraded to 4.0). The project also uses Cookieless sessions. This app is reliant on session state pretty heavily.

Whenever I F5 debug the application, it works fine. However, I've deployed the app to IIS7 and a strange behavior happens. Whenever the file is uploaded the input box turns green as expected, but it is killing session state. Rather, it appears to be creating a new session each time. The Cookieless session ID in the address bar changes.

I'm not doing anything special. I've inserted the control:

<asp:AsyncFileUpload ID="AsyncFileUpload1" runat="server" PersistFile="true" Width="220" />

And I check the FileBytes on Save. I am only reading the byte array from session - I'm not physically saving the file.

I greatly appreciate any advice!


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>