[Mono-bugs] [Bug 75542][Wis] New - SQL SessionState is not saved when redirecting...

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 13 09:41:33 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=75542

--- shadow/75542	2005-07-13 09:41:33.000000000 -0400
+++ shadow/75542.tmp.15148	2005-07-13 09:41:33.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 75542
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SQL SessionState is not saved when redirecting...
+
+<sessionState mode="SQLServer" 
+sqlConnectionString="SERVER=10.69.100.181;USER 
+ID=postgres;PASSWORD=postgres;database=aspstate" timeout="20"/>
+
+and 
+        <add key="StateDBProviderAssembly" value="Npgsql, Version=1.0.5000.0, 
+Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/>
+
+i've created my aspstate database with a table :
+CREATE TABLE aspstatetempsessions
+(
+  sessionid varchar,
+  created timestamp,
+  expires timestamp,
+  timeout numeric,
+  staticobjectsdata bytea,
+  sessiondata bytea
+) 
+
+With a small test program which simply save object into the session state,
+it works...
+But if I do a "redirect" at the end, the session state is'nt saved in the
+database...
+It works well when you are in "InProc" mode but it failed when you're in
+SQLServer Mode
+
+So the UpdateHandler function is not called if you do a "redirect" in a
+page... I think the session UpdateHandler should be called when you do a
+redirect!


More information about the mono-bugs mailing list