GazaM wrote:
> Ok, thanks for all the help guys. It seems that running this type of
> script from inside of the html just isn't going to work as needed.
> Seems like I'll just have to ditch the .shtml and point directly to a
> cgi. This is how the other Python frameworks and sites work, such as
>
GazaM wrote:
> Ok, thanks for all the help guys. It seems that running this type of
> script from inside of the html just isn't going to work as needed.
> Seems like I'll just have to ditch the .shtml and point directly to a
> cgi. This is how the other Python frameworks and sites work, such as
>
GazaM wrote:
> Ok, thanks for all the help guys. It seems that running this type of
> script from inside of the html just isn't going to work as needed.
> Seems like I'll just have to ditch the .shtml and point directly to a
> cgi. This is how the other Python frameworks and sites work, such as
>
Ok, thanks for all the help guys. It seems that running this type of
script from inside of the html just isn't going to work as needed.
Seems like I'll just have to ditch the .shtml and point directly to a
cgi. This is how the other Python frameworks and sites work, such as
reddit and plone etc rig
GazaM wrote:
> wow, those were some seriously quick replies, thanks. I understand that
> cookies is the best way to do things, but I didn't explain my problem
> well, sorry.
>
> Basically, I have a blog in the works and I want to have an online
> interface for posting. What I have is a cgi script
"GazaM" <[EMAIL PROTECTED]> writes:
> Paul: By server side include I mean simply calling upon the script from
> an include line within the html, for example ''
Try printing the contents of os.getenv() in your script and see
if the cookie data is in there.
--
http://mail.python.org/mailman/listinf
Kirk: I'm using the Cookie module to create/send/read the cookies. The
problem is that I can't read session cookies when running the script
from a server side include line.
Paul: By server side include I mean simply calling upon the script from
an include line within the html, for example ''
Gaza
"GazaM" <[EMAIL PROTECTED]> writes:
> there will display a login form. Now, the big showstopper here is that,
> because session cookies are stored in http headers sent by the client
> (afaik) the cgi script can't get any, because the http headers are
> passed onto the html file and any cgi scripts
GazaM wrote:
> What I have is a cgi script run through a server
> side include line in the html, which looks for the session cookie, if
> it is present will say 'logged in as "user"' and if the cookie isn't
> there will display a login form. Now, the big showstopper here is that,
> because session
wow, those were some seriously quick replies, thanks. I understand that
cookies is the best way to do things, but I didn't explain my problem
well, sorry.
Basically, I have a blog in the works and I want to have an online
interface for posting. What I have is a cgi script run through a server
side
[EMAIL PROTECTED] writes:
> I was just wondering if / how would it be possible to create secure
> sessions for a website using Python CGI... I thought of using cookies,
> and things looked promising for a while; I could login through a form
> which pointed to a cgi script which created sent the use
[EMAIL PROTECTED] wrote:
> Hey,
>
> I was just wondering if / how would it be possible to create secure
> sessions for a website using Python CGI... I thought of using cookies,
> and things looked promising for a while; I could login through a form
> which pointed to a cgi script which created sen
12 matches
Mail list logo