[Mono-devel-list] Cookieless Session State
Garthfield Carter
garth at webconexion.net
Mon Sep 20 18:16:53 EDT 2004
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/20040920/0b710bd0/attachment.html
More information about the Mono-devel-list
mailing list