Ok, I think I found out the source for both problems, but no solution.

Problem: Apache runs in different threads or processes, doesn't
matter. So if my request gets handled by a process which hasn't talked
to me before, I get a new session because it looks in  a different
place for my session due to the mkdtemp() above.

Naive solution:
- use either daemon mode of wsgi
- point the processes to a single directory.

But: I tried both. Now I get a new session ID everytime I reload. I
think I really don't see the point here since I think that web.py will
create a new file for a new session, pass a session ID to the browser
and when the browser submits a request agian, web.py will take the
session id and try to load a session from the disk which will succeed
if there is a file in the session directory matching the session ID
(or some such).

Or am I completely wrong?

Cheers,
Philipp

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to