[Mono-devel-list] Cookieless Session State

Garthfield Carter garth at webconexion.net
Wed Sep 22 12:19:42 EDT 2004

I am using Apache 1.3.27 with mod_mono and not the XSP web server, Apache is not dealing with the virtual session directory at all, it's returning a 404 as it attempts to look for the virtual session directory on the filesystem. It sounds like a mod_mono issue, would I be correct in thinking this if the XSP web server works OK as you're saying?

  ----- Original Message ----- 
  From: Simon Bain 
  To: Juraj Skripsky 
  Cc: mono-devel-list at lists.ximian.com ; garth at webconexion.net 
  Sent: Wednesday, September 22, 2004 4:59 PM
  Subject: Re: [Mono-devel-list] Cookieless Session State


  Just using XSP from the command line and then calling the web page  (my system Suse 9.0) does not recreate the error.

  I have 2 demo sites running via XSP both have cookieless="true" set in the sessionState of the Web.config file.

  The browser shows the session ID and displays the page. Both apps work as required. As of yet I have not ran them in Apache. 

  All the best
  Simon Bain 
  XML Open Conference Speaker:- Data Integration with XML and Mono 
  XML 2004 Conference Speaker:- e-Voting 

  > 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: 
  >> 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 
  > _______________________________________________ 
  > Mono-devel-list mailing list 
  > Mono-devel-list at lists.ximian.com 
  > http://lists.ximian.com/mailman/listinfo/mono-devel-list 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040922/ad3ffbd1/attachment.html 

More information about the Mono-devel-list mailing list