Jump to content


PHP Cookies in Python

  • Please log in to reply
No replies to this topic

#1 Reisswolf

  • Members
  • PipPip
  • Member
  • 13 posts

Posted 24 July 2006 - 07:11 PM


Is there any quick way to read session cookies set in PHP from a page generated by Python CGI?

I have tried os.environ["HTTP_COOKIE"], but while the PHPSESSID cookie is propagated, the other cookies--in my case, the $_SESSION['user_name'] and $_SESSION['status'] cookies--are not.  (And yes, I did specify session.use_only_cookies in my PHP script.)

Pointers would be greatly appreciated.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users