943,878 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 464
  • Python RSS
Feb 8th, 2009
0

Cookie

Expand Post »
Why wont my cookie set in firefox

Python Syntax (Toggle Plain Text)
  1. #!/usr/bin/python
  2. import Cookie
  3. print "Content-type: text/html\n"
  4. C = Cookie.SimpleCookie()
  5. C["number"] = 7
  6. C["string"] = "seven"
  7. print C["number"].value
  8. print C["string"].value
  9.  
  10. print C
  11. print "Set-Cookie: string=seven; "
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
adam291086 is offline Offline
61 posts
since Nov 2008
Feb 10th, 2009
0

Re: Cookie

anyone??
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
adam291086 is offline Offline
61 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Python crash large integers please help!
Next Thread in Python Forum Timeline: Find an element in an array





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC