has anyone attempted this yet with pyramid_beaker , or a custom
implementation ?
much like the folks who asked about "multiple beaker sessions under
pylons" [
http://groups.google.com/group/pylons-discuss/browse_thread/thread/62fbd23305db7dcc?fwc=1
] , i'd like to have a beaker session for accoun
I'm close do doing this with a middleware hack.
I looked into extending pyramid and pyramid_beaker to support a
request.session_https option. That is going to add a chunk of code -
so I should ask first... is that something worth doing ?
--
You received this message because you are subscribed t
On Thu, Mar 1, 2012 at 8:54 PM, Jonathan Vanasco wrote:
> has anyone attempted this yet with pyramid_beaker , or a custom
> implementation ?
>
It should absolutely be possible. I would suggest using Pyramid's new
(1.3+) config.set_request_property() functionality to add another (lazy)
property on
the config.set_request_property sounds like it'll be *perfect*
i'll whip up a distributable based on that -- will be much better than
hacking at pyramid core!
On Mar 5, 6:21 pm, Michael Merickel wrote:
> On Thu, Mar 1, 2012 at 8:54 PM, Jonathan Vanasco wrote:
>
> > has anyone attempted this yet
I'm very interested in functionality. Please keep us updated.
On Monday, March 5, 2012 5:25:46 PM UTC-6, Jonathan Vanasco wrote:
>
> the config.set_request_property sounds like it'll be *perfect*
>
> i'll whip up a distributable based on that -- will be much better than
> hacking at pyramid core
I've got a monkeypatched version that seems to work right now
( https://gist.github.com/1983280 ). It was the most straightforward
way of compiling all the relevant pieces from Pyramid /
Pyramid_Beaker.
I say "seems" , because I don't have my local server setup to test
with https, it works on por
pyramid_subscribers_beaker_https_session
https://github.com/jvanasco/pyramid_subscribers_beaker_https_session
i've got it supporting two methods:
1. config.set_request_property
2. a NewRequest listener that manually sets the property
the latter option is likely to leave, but i already named it