Hi All,

I'm developing simple 'login_required' filter 
(https://github.com/ChicagoBoss/ChicagoBoss/blob/master/README_FILTERS.md)
and found one strange issue:
 SessionID is undefined in RequestContext only in case
  a. SessionID wasn't generated before
  b. Controller not making use of SessionID

This is related to code:
  
https://github.com/ChicagoBoss/ChicagoBoss/blob/master/src/boss/boss_web_controller.erl#L385:L389
  and probably it is desired behavior.

My question is:
  Is it very expensive to generate SessionID for each request?

I do need SessionID in every request and adding SessionID into every 
controller is not convenient. :(

Kind regards,
- Nikolay Garanko

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to