Hallo,
Randall Randall hat gesagt: // Randall Randall wrote:
> I do this in my SitePage.awake():
> if not self.request().hasPathSession():
>       if self.session().value('nocookies', None) or
> self.request().fields().has_key('pathsessions'):
>         url = extraURL + '_SID_='+ self.session().identifier() + '/' +
> self.request().servletURI()
>         if self.request().queryString():
>           url = url + '?' + self.request().queryString()
>         self.transaction().response().sendRedirect(url)
> 
> which is similar to what Application.handleMissingPathSession()
> does.  Then I have a note on each page that requires a session
> that says something like 'Click here to enable a different session
> method', which links to page?pathsessions=yes .  After that, all
> your relative URLs will continue to work correctly.

This looks cool. I like telling people about the higher security with
cookies (in my case in contrast to popular believe), before
redirecting them to a _SID_ page. I'll try that ASAP. 

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to