[Mono-devel-list] Cookieless Session State

Juraj Skripsky js at hotfeet.ch
Wed Sep 22 11:43:32 EDT 2004

Hello Garthfield,

I think I once stumbled across the same problem (using XSP). Probably,
there is a problem with the encoding/decoding of the virtual session
directory, as soon as you request a file in a subdirectory.
Does this problem also happen if the application root directory is "/"
and the requested file is in this root directory?

Could you please file a bug report and attach a test case?
I'll take at look at the code in System.Web.

- Juraj

On Wed, 2004-09-22 at 16:11, Garthfield Carter wrote:
> 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

More information about the Mono-devel-list mailing list