[Mono-devel-list] Cookieless Session State

Garthfield Carter garth at webconexion.net
Wed Sep 22 10:11:32 EDT 2004


Does anyone know any information about Mono's sessionState support and my problem below?
  ----- Original Message ----- 
  From: Garthfield Carter 
  To: mono-devel-list at lists.ximian.com 
  Sent: Monday, September 20, 2004 11:16 PM
  Subject: [Mono-devel-list] Cookieless Session State


  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 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.

  Please accept my apologise if my understanding of the process is wrong, I'm learning ASP.NET using what I see first hand with Mono and reading between the lines.

  Garthfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040922/f8fd3e16/attachment.html 


More information about the Mono-devel-list mailing list