capri19 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.