| | |
Cookie
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2008
Posts: 58
Reputation:
Solved Threads: 0
Why wont my cookie set in firefox
Python Syntax (Toggle Plain Text)
#!/usr/bin/python import Cookie print "Content-type: text/html\n" C = Cookie.SimpleCookie() C["number"] = 7 C["string"] = "seven" print C["number"].value print C["string"].value print C print "Set-Cookie: string=seven; "
![]() |
Similar Threads
- cookie spoofing (Database Design)
- Tracking cookie (Viruses, Spyware and other Nasties)
- Red Sheriff tracking cookie (Web Browsers)
- cookie matter (Database Design)
Other Threads in the Python Forum
- Previous Thread: socket error: connection refused
- Next Thread: Find an element in an array
Views: 362 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Python
advanced anydbm app bash beginner bits calling chmod cmd code data dictionary directory dynamic edit examples excel external feet file float format ftp function gui halp homework http i/o images import info input ip itunes java keycontrol line linux list lists loan loop maintain millimeter mouse newb number numbers output panel parsing path port prime print program programming projects push py-mailer py2exe pygame pyqt python queue random recursion recursive scrolledtext smtp split ssh string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial ubuntu unicode update urllib urllib2 variable variables ventrilo web webservice whileloop windows wxpython xlib





