Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SessionState mode=
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
SessionState mode=
Divers
Thread ID:
00987221
Message ID:
00987221
Vues:
93
After upgrading to MM.NET 1.3, if I turn on sessionState mode="SQLServer" in my application's web.config file, the application behaves weirdly. For example, in some cases I am dynamically loading an image url from another asp.net web page which retrieves the image from SQLServer using something like this:
If Not IsDBNull(dsItem.Tables(0).Rows(0).Item("ItemPhoto")) Then
  imgItemPhoto.ImageUrl = "GetItemPhoto.aspx?ItemID=" + CStr(ItemID)
End If
The image is not loaded, and stepping through the code indicates that GetItemPhoto.aspx is never, ever executed. However, if I switch the sessionState mode to "InProc", everything works just fine.

Perplexed,
Carl.
Carl Olson, Jr.
CEO, Founder
Cerelogic, Inc.

www.cerelogic.com

"Applying rocket science to business."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform