I'm building a custom php control panel to manage my server and webui's. I want to include the Sabnzbd webui in the control panel. Authenticating works with php session and i'd like to have sabnzbd's authentication working with it as well. My idea was to read the php session file manually and unserialize it with this: http://www.hurring.com/scott/code/python/serialize/
Then it would only be a mather of checking if the values are the correct username and password. If the values are not present or wrong, i'd like the page to be redirected to a login.php page.
But now the problem: i barely know python
Thanks in advance!
PS: i didn't know where to post it and this seemed a suitable place

