Refactoring: single place for random code generation

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Aug 17, 2012, 11:07:44 AM8/17/12
to Development In-Portal
In-Portal has interesting method, that is used to generated random codes. For example it's used for session id generation.

Because this method is located in Session class it can't be used in other places due it's visibility. I'm proposing to move this method to kUtil class. 



Ready for testing.


-- 
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
centralize_random_code_generation.patch
Reply all
Reply to author
Forward
0 new messages