[Mono-list] Mono and cookiesless = true

Robert Jordan robertj at gmx.net
Wed Jul 26 15:46:57 EDT 2006


Gonzalo Paniagua Javier wrote:
> On Wed, 2006-07-26 at 20:21 +0200, Keats wrote:
>>> Hello,
>>>
>>>> i can't have mod_mono to work with this feature... 
>>>> is there anyone who know how to get it working ? 
>>> Do you have a test case?
>> when i put 
>> <sessionState mode="InProc" timeout="15" cookieless="true"/>
>>
>> in web.config it's work perfectly on windows... 
>>
>> but on my linux/mod_mono server it writes me "file not found" 
>>
>> like if it looks for the virtual directory like a real one... 
>>
>> of course the real directory doesn't exist: 
> 
> That's not enough to reproduce your setup.
> Anyway, my wild guess is that you're using AddHandler instead of
> SetHandler for the virtual directory of your application. AFAIR, that
> won't work with cookieless.

I can reproduce it with XSP standalone.
It looks like when redirects are not working correctly:

/app/test/redir.aspx
====================

<%@ Page %>
<script runat="server">
void Page_Load (object sender, EventArgs e)
{
         Response.Redirect ("~/test/foo.aspx");
         // Response.Redirect (ResolveUrl ("~/test/foo.aspx"));
         // Response.Redirect ("foo.aspx");
}
</script>

None of the redirects above works.

Robert



More information about the Mono-list mailing list