Hi!

nameless wrote:
> In your opinion what is the best way to share userid with the PHP
> application ?

If you know where PHP sessions are stored on the file system, you can fetch
them manually and deserialize (there is a Python class to deserialize PHP
objects). Then you can fetch user id from the PHP session.

You can also search or create a PHP session serializer that writes to the
database. Then you can read from the database in your Django app. I would
go this way as it makes less hacking than accessing session files.

-- 
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to