[Mono-bugs] [Bug 66747][Nor] New - Cookieless Session State
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 23 Sep 2004 18:09:40 -0400 (EDT)
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 garth@webconexion.net.
http://bugzilla.ximian.com/show_bug.cgi?id=66747
--- shadow/66747 2004-09-23 18:09:40.000000000 -0400
+++ shadow/66747.tmp.22596 2004-09-23 18:09:40.000000000 -0400
@@ -0,0 +1,80 @@
+Bug#: 66747
+Product: Mono: Class Libraries
+Version: unspecified
+OS: other
+OS Details: Fedora Core1
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: garth@webconexion.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Cookieless Session State
+
+Description of Problem:
+
+I'm trying to use sessions without cookies. I added the sessionState node
+in my web.config with cookieless set to true:
+
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.web>
+ <sessionState mode="InProc" cookieless="true"/>
+ </system.web>
+</configuration>
+
+When I restarted Apache and accessd a test page I got the following URL
+complete with virtual session directory which Apache gave me a 404 error
+for, the URL that it automcatically create was:
+
+ /test/(27F82FF9592C788715CF25ECB7F279)/test.aspx
+
+Everything is correct as I expected this to happen, the problem seems to
+be that Apache actually looks for a directory called
+(27F82FF9592C788715CF25ECB7F279) and it obviously doesn't exist. How do I
+get Apache to simply forward this to mod_mono? I set-up the exact same
+code with Web Matrix and ran it using it's built in web server and it
+works perfectly. The Web Matrix server handles this (sessionID) in the URL
+and decodes it.
+
+Steps to reproduce the problem:
+1. Create a web.config with the following:
+
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.web>
+ <sessionState mode="InProc" cookieless="true"/>
+ </system.web>
+</configuration>
+
+2. Restart Apache
+3. Create a test1.aspx and test2.aspx, test1.aspx should have a hyperlink
+to test2.aspx. Place some text into it "Hello World".
+4. Visit test1.aspx
+
+Actual Results:
+
+An Apache 404 page with IE, Mozilla shows the virtual session directory in
+the URL:
+
+/test/(27F82FF9592C788715CF25ECB7F279)/test1.aspx
+
+But again it is a 404 page, it's just Mozilla shows you that it almost
+worked.
+
+Expected Results:
+
+Hyperlink to test2.aspx
+
+How often does this happen?
+
+100% of the time.
+
+Additional Information:
+
+I'm using Mono 1.0.1, Mod Mono 1.0.1 and XSP 1.0.1