User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 455,973 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,819 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 342 | Replies: 0
Reply
Join Date: Nov 2007
Posts: 7
Reputation: capri19 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
capri19 capri19 is offline Offline
Newbie Poster

Help Newbie CGI programmer question

  #1  
Nov 30th, 2007
I've been struggling with this problem for several days without any luck
You are my last hope
It is probably an easy one (??)

If anybody could give me an example on how to manage cookies i would be extremely grateful.
What I'm trying to do is to pass a variable from one page to another using
c = Cookie.SimpleCookie()
Server = HTTPServer(srvraddr, CGIHTTPRequestHandler)
I use
<form action="script" method="get">
<input type="text" name="user">
</form>


for some reason I can't use "post" this gives me an error "the page cannot be displayed"
I know a fair bit about Python but this web thing is completely new to me

Because of that I don't really know what questions to ask
Therefore.....
An example to kick me in the right direction would save my day


//C
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Python Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Python Forum

All times are GMT -4. The time now is 9:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC