--- albatross/session.py	2003-07-05 04:49:13.000000000 +0100
+++ ../albatross-1.10-pollen/albatross/session.py	2003-08-04 17:34:27.000000000 +0100
@@ -6,6 +6,8 @@
 
 import socket
 import base64
+import os.path
+from urlparse import urlparse
 
 try:
     import Cookie
@@ -60,6 +62,8 @@
                 raise
         c = Cookie.SimpleCookie()
         c[self.app.ses_appid()] = self.__sesid
+        path = os.path.dirname(urlparse(self.app.base_url())[2])
+        c[self.app.ses_appid()]['path'] = path
         prefix_len = len('Set-Cookie: ')
         self.set_header('Set-Cookie', str(c)[prefix_len:])
 
--- albatross/sessionfile.py	2003-07-05 04:49:13.000000000 +0100
+++ ../albatross-1.10-pollen/albatross/sessionfile.py	2003-08-04 17:34:50.000000000 +0100
@@ -14,6 +14,8 @@
 import random
 import errno
 import struct
+import os.path
+from urlparse import urlparse
 
 try:
     import Cookie
@@ -64,6 +66,8 @@
                 raise
         c = Cookie.SimpleCookie()
         c[self.app.ses_appid()] = self.__sesid
+        path = os.path.dirname(urlparse(self.app.base_url())[2])
+        c[self.app.ses_appid()]['path'] = path
         prefix_len = len('Set-Cookie: ')
         self.set_header('Set-Cookie', str(c)[prefix_len:])
 
