Hi,

i would like to extend WebKit in order to support automatic 
path based session handling. (eg. for webapps that should 
not depend on cookie support)

the idea is to encode the session id  in a virtual subpath,
like this.

http://server.com/wk/_SID_=2001080212391970896/context/AnyScript
http://server.com/wk/_SID_=2001080212391970896/context/AnotherScript

which is more convinient since you don't have to care about encoding
the session id into every links within your site, like this.
http://server.com/wk/context/AnyScript?_SID_=2001080212391970896

An easy way would be to use mod_rewrite, but that is extra configuration
overhead for users. So i would like to implement this in WebKit
directly.


I plan to patch Request.py doing the following:

- check if automatic path based sessions are enabled in
Config/Application.py
- check if the path contains a session, if not:
        generate SID and 
        redirect the browser to the same script, but with session encoded in
path
- extract SID
- eliminate SID from PATH_INFO, etc.


my questions are:
- does this make sense?
- is Request.py the right place to implement this feature
- do you see any pitfalls, have any hints or suggestions


Heiko


-- 
brainbot technologies AG 
schwalbacherstr. 74   65183 wiesbaden . germany
vox +49 611 238505-0  fax ++49 611 238505-1
http://brainbot.com/  mailto:[EMAIL PROTECTED]

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to