somewhat off-topic
Chris Gonnerman
chris.gonnerman at newcenturycomputers.net
Tue Jul 2 00:21:58 EDT 2002
----- Original Message -----
From: "Adonis" <deltapigz at telocity.com>
> i wrote a http server using SimpleHTTPServer, im using the GET command as
my
> cgi trigger, and would like to "hide" the path?
>
> i.e.
>
> i get a:
> GET /login?user=foo&pass=bar
>
> client side (on their url box they see)
> http://host/login?user=foobar&pass=bar
>
> i want them to just see:
> http://host/login or just http://host/ since login is really mapped to a
> class.
>
> i know it has to do something with headers, but have failed to find it on
> google.
You have to use <form method="POST"> to avoid the variables being shown,
OR you can store the data in a cookie (or cookies). There really isn't any
other way AFAIK.
> any help would greatly be appreciated.
>
> Adonis
Chris Gonnerman -- chris.gonnerman at newcenturycomputers.net
http://newcenturycomputers.net
More information about the Python-list
mailing list