Christoph,

I really appreciate the effort.  I've been searching for something of this magnitude for awhile.  See, I would normally use CGI::Session for the equivalent in Perl.  That is what I am trying to achieve.  I'll give that script a go and see what I can come up with.  Luckily, the data I store is kept in MySQL, so that's even better.  Regards to your efforts to the community!

Cheers,
Derek

P.S. Sorry for the repeat, this e-mail was never sent  to the list, Thanks!

On 10/15/05, Derek Perriero <[EMAIL PROTECTED]> wrote:
Christoph,

I really appreciate the effort.  I've been searching for something of this magnitude for awhile.  See, I would normally use CGI::Session for the equivalent in Perl.  That is what I am trying to achieve.  I'll give that script a go and see what I can come up with.  Luckily, the data I store is kept in MySQL, so that's even better.  Regards to your efforts to the community!

Cheers,
Derek


On 10/14/05, Christoph Haas < [EMAIL PROTECTED]> wrote:
On Friday 14 October 2005 21:22, Derek Perriero wrote:
> What would be the best way to create a cgi session that contains the
> basic elements of a cookie and can also hold secure data, such as a
> username/password. [...]

Said. Done. I just tidied up a module we will be using for a web site
here. It uses the promised session-cookie handling (with a lot of security
checks) and a MySQL database backend. I tried to document as well as
possible
so I hope it will even help you if you use it or not. To try it out just
grab the two files from http://workaround.org/pysessions/ and copy them
into a
cgi-bin/ directory. Create a database and the two tables following the
scheme described on top of the MySessions.py module. Then access the
/cgi-bin/mypage CGI. Hope to have helped.

Everyone:
This is my first "bigger" Python script. I would really like to hear
comments
on it. If it's deemed to be decent I could use some help making it a
package
that can be used by others as well. There is probably a bit of perlishness
that I'd like to get rid of to make it look more snake-like.

Regards
Christoph
--
~
~
".signature" [Modified] 1 line --100%--                1,48         All

--
http://mail.python.org/mailman/listinfo/python-list



--
Perriero, Derek
[EMAIL PROTECTED]



--
Perriero, Derek
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to