Php hooks into that, too, and can do basic auth. Look into that instead. It would be easier to implement, less complex. And just as functional.
Joe On Mar 1, 2012 10:48 PM, "yokota" <yok...@passlogy.com> wrote: > Thanks for the response, Joe. > > My private module is for authentication. > I will be happy if I can read PHP session > before user authentication. > > If a loginOK flag of an applicationA is > in PHP session, the user pass throug my module. > If not, the user need to be authenticated. > > But probably, it will be difficult as you say. > > > > Thank you, > Sakuko > > > (2012/03/02 10:27), Joe Lewis wrote: > >> Use a php module? Seriously, you'll have to find out where the session >> files are kept, and read the appropriate one. Parsing may be more >> primitive, because you aren't using php. It's the cost of reinventing the >> wheel. >> >> Joe >> On Mar 1, 2012 6:02 PM, "yokota"<yok...@passlogy.com> wrote: >> >> Hello, >>> >>> I want to read PHP session in my private module. >>> PHP session id is in PHPSESSID cookie but >>> I want to read the contents of PHP session in my module. >>> >>> Please let me know if you have any suggestions. >>> Thank you in advance. >>> >>> Yokota Sakuko >>> >>> >