Cookie

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2008
Posts: 58
Reputation: adam291086 is an unknown quantity at this point 
Solved Threads: 0
adam291086 adam291086 is offline Offline
Junior Poster in Training

Cookie

 
0
  #1
Feb 8th, 2009
Why wont my cookie set in firefox

  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; "
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 58
Reputation: adam291086 is an unknown quantity at this point 
Solved Threads: 0
adam291086 adam291086 is offline Offline
Junior Poster in Training

Re: Cookie

 
0
  #2
Feb 10th, 2009
anyone??
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC