On Mo, 2009-12-07 at 23:10 -0500, Marc wrote:
> While I agree with the cookie (as long as it has a short expiration),
> another way to do this is by using expiring tokenization (credentials+ some
> unique data for the transaction) in the URL header (see section 14.8 at
> http://www.w3.org/Protocol
> On Mo, 2009-12-07 at 09:35 -0400, Rayon wrote:
> > How do I Check for an active login session on every page that
> requires
> > authentication
> >
> To understand sessions you first need to understand that HTTP is a
> stateless protocol: you connect, send your request, receive a response
> and th
Alan,
I am very impressed! This one goes to my knowledge base.
Thanks a lot.
2009/12/7 Alan Plum :
> On Mo, 2009-12-07 at 09:35 -0400, Rayon wrote:
>> How do I Check for an active login session on every page that requires
>> authentication
>>
>> Been at this for days and it’s holding me back can s
On Mo, 2009-12-07 at 09:35 -0400, Rayon wrote:
> How do I Check for an active login session on every page that requires
> authentication
>
> Been at this for days and it’s holding me back can someone plz help
> me with some code examples.
To understand sessions you first need to understand that
How do I Check for an active login session on every page that requires
authentication
Been at this for days and it's holding me back can someone plz help me with
some code examples.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change s
how to check whether a user is authenticated with mod_python
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I need to setup a login page for a web application but I am not finding any
code in the mod_python doc that shows me how to do this.
What is need is the code to tell apache to get this login data from a login
page.
OTOH if you want to build your own login system (e.g. with user details
stor
On Sat, Dec 5, 2009 at 8:26 PM, Rayon wrote:
> I need to setup a login page for a web application but I am not finding any
> code in the mod_python doc that shows me how to do this.
>
> What is need is the code to tell apache to get this login data from a login
> page.
If you want Apache to dire
I need to setup a login page for a web application but I am not finding any
code in the mod_python doc that shows me how to do this.
What is need is the code to tell apache to get this login data from a login
page.
___
Tutor maillist - Tutor@pyt
"Jason DeBord" <[EMAIL PROTECTED]> wrote
in using Python instead of PHP and would like to use Python's
template style
as well as a framework such as Pylons or Django.
I can't speak for those two but ISTR that TurboGears had a fairly
comprehensive set of notes on how to configure with lots of
Wsgi is also more portable than mod_python: mod_python is solely
available on the Apache httpd, whereas wsgi is available on many more.
---
Richard "Roadie Rich" Lovely
Part of the JNP|UK Famille
www.theJNP.com
(Sent from my iPod - please allow me a few typos: it's a very small
keyboard)
O
mod_wsgi is another option that supposedly has a smaller memory footprint
and, in my case, proved easier to configure than mod_python
http://code.google.com/p/modwsgi/
http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi
___
Tutor maillist -
Is mod_python the only way to integrate python and apache2 ? I am interested
in using Python instead of PHP and would like to use Python's template style
as well as a framework such as Pylons or Django.
Thanks in advance!
--
- - - - - - - - - - - - -
Jason
Limoges, France
___
On Mon, Sep 29, 2008 at 2:55 AM, Alan Gauld <[EMAIL PROTECTED]>wrote:
> The biggest limitation by far on Python web development is lack
> of Python support on the web servers. You need to find a provider that
> either gives you an account on a server with which you can install any
> frameworks you
"Alec Henriksen" <[EMAIL PROTECTED]> wrote
So, lets say I want to develop a distributable web application (such
as
phpBB or Drupal) for Python. What platform (mod_wsgi, mod_python)
would
I use to reach as many users as possible, and on top of that, which
(if
any) framework should I use to de
> So, lets say I want to develop a distributable web application (such
> as phpBB or Drupal) for Python. What platform (mod_wsgi, mod_python)
> would I use to reach as many users as possible, and on top of that,
> which (if any) framework should I use to develop this web application?
A lot of appl
Hello,
This is my first time posting to this board, so please forgive me if I
mess something up.
So, lets say I want to develop a distributable web application (such as
phpBB or Drupal) for Python. What platform (mod_wsgi, mod_python) would
I use to reach as many users as possible, and on top of
Jalil wrote:
> I was just wondering if anyone know of a any good site with examples
> of mod_python tutorial.
> the mod_python manual assume isnt really that helpful.
I have been learning mod_python recently and I found the manual to be
quite good...
what are you having problems with specifically
I was just wondering if anyone know of a any good site with examples of
mod_python tutorial.
the mod_python manual assume isnt really that helpful.
thanks
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
>
> That's great news! Does the whole thing work now, including the
> integration with mod_python?
Hi Danny,
Yes, everything works now. The problem was the mysqldb copy I had. I also
noticed that i had made a mistake by writting
> db.commit()
> db.close()
instead of: conn.comm
> I downloaded the latest version of mysqldb and my code worked. btw, I
> changed it to %s instead of %d.
Hi Patty,
That's great news! Does the whole thing work now, including the
integration with mod_python? I'm following up and making sure that the
problem was simply the stale copy of MySQL
Hi Danny,
I downloaded the latest version of mysqldb and my code worked. btw, I changed
it to %s instead of %d.
Thanks!
Patty
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Thu, 23 Feb 2006, Patty wrote:
> def addpercent(mp, lp):
> conn = MySQLdb.connect(host = "localhost", user = "root", passwd =
> "",db ="my_db")
> cursor = conn.cursor()
> cursor.execute ("""
> UPDATE targets
> SET mario_percent = %d, lizard_
Hi!
I'm new to python and MySQl and have problems trying to figure out what is wrong
with my code. I have two files:
***control.py***
#!/usr/bin/python
import MySQLdb
def addpercent(mp, lp):
conn = MySQLdb.connect(host = "localhost", user = "root", passwd = "",db
="my_db")
cursor
Christian,You are certainly right. I couldn't get anything apart from "Hello world" coding in mod_python. The mod_python manual is also bit vague, not for beginners. I wonder why there aren't any good tutorials on mod_python.
I am having a look at quixote as a developer in this list suggested. I w
And "as a beginner", I would _not_ start with something like
mod_python ;-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Intercodes
Sent: Wednesday, January 25, 2006 12:59 PM
To: tutor@python.org
Subject: [Tutor] mod_python and other web frame
There seems to be a discussion about this sort of thing every other
week or so, and I'm always surprised that no one mentions Cheetah
Templates (www.cheetahtemplate.org). It's useful for both web and
non-Web applications, and has a straightforward syntax that pretty
much *is* Python. For web prog
--- Intercodes <[EMAIL PROTECTED]> wrote:
> List: I am still open to suggestions.
Being also keen to write better web apps in Python,
I've spent a considerable amount of time reading about
this (and it is indeed confusing), I've opted to try
out something like Pylons or Turbogears.
One thing I w
Thanks for the input guys. I think ill go with Quixotemod_pythonpostgresXHTMLIll let you know if I have done something useful with the above four :DTYIntercodes
>If you're looking to do some Python coding to put your site together,>you might take a gander at Quixote>(http://www.mems-exchange.org/so
On Thu, Jan 26, 2006 at 02:07:43AM +0530, Intercodes wrote:
> Lolo,
>
> Thanks for the boost up. I am looking at PSP now and it seems promising. 3
> days is impossible for me :) ...maybe a week or more. I will certainly have
> a look at 'mighty' once I am familiar with mod_python.
>
> List: I am
Liam, I checked the wiki video sometime back. If my memory wont fail me, the guy there never used a single line of python code ;) (I may be wrong) It seemed a totally new language that he used to create that wiki.
Iam more inclined to code a lot rather than deal with such high abstraction, as I wou
On 1/26/06, Intercodes <[EMAIL PROTECTED]> wrote:
> Liam,
>
> I checked the wiki video sometime back. If my memory wont fail me, the guy
> there never used a single line of python code ;) (I may be wrong) It seemed
> a totally new language that he used to create that wiki.
>
> Iam more inclined to
Lolo,Thanks for the boost up. I am looking at PSP now and it seems promising. 3 days is impossible for me :) ...maybe a week or more. I will certainly have a look at 'mighty' once I am familiar with mod_python.
List: I am still open to suggestions.Thank You.Intercodes--
Hi,
I recommend checking out the Turbogears 20 minute Wiki tutorial,
although I'd hold off using it until the 0.9 release comes out with
some useful changes.
When you use it, it sits behind mod_python and responds to requests made.
You can see a Turbogears error message here - :D
http://digitalso
Hello everyone,Disclaimer: Beginner.I have an idea of coding a web application and decided to do it entirely with python (reddit style). I started looking for web programming in python and somehow I saw mod_python first. Iam perusing the help document now.
Few minutes of browsing confused my mind
On Wed, 5 Oct 2005, Jay Loden wrote:
> I'm having trouble with Apache and Mod_python - mod_python is set to use
> /var/www/html and pass all *.htm files on to the handler I wrote.
> Unfortunately, mod_python does a greedy match, so
> /var/www/html/subdirectory/file.htm still gets passed to the h
I'm having trouble with Apache and Mod_python - mod_python is set to
use /var/www/html and pass all *.htm files on to the handler I wrote.
Unfortunately, mod_python does a greedy match,
so /var/www/html/subdirectory/file.htm still gets passed to the handler! Is
there some way to limit the hand
Hi Danny,
Danny Yoo wrote on 05.09.2005:
>
>On Mon, 5 Sep 2005, Jan Eden wrote:
>>[Sat Sep 03 23:01:52 2005] [notice] child pid 2334 exit signal Bus
>>error (10) [Sat Sep 03 23:01:53 2005] [notice] child pid 2333 exit
>>signal Bus error (10)
>
>It looks that you have a locally customized verison
On Mon, 5 Sep 2005, Jan Eden wrote:
> I just tried installing mod_python on OS X (10.3.9). Installation went
> fine, and Apache starts up without complaining:
>
> Apache/2.0.53 (Unix) DAV/2 PHP/5.0.1 mod_python/3.1.4 Python/2.4.1
> mod_perl/2.0.1 Perl/v5.8.1 configured -- resuming normal operati
39 matches
Mail list logo