Re: [Tutor] mod_python authentication

2009-12-08 Thread Alan Plum
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

Re: [Tutor] mod_python authentication

2009-12-07 Thread Marc
> 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

Re: [Tutor] mod_python authentication

2009-12-07 Thread aivars
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

Re: [Tutor] mod_python authentication

2009-12-07 Thread 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 someone plz help > me with some code examples. To understand sessions you first need to understand that

[Tutor] mod_python authentication

2009-12-07 Thread Rayon
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

[Tutor] mod_python authentication

2009-12-06 Thread Rayon
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

[Tutor] mod_python authentication

2009-12-05 Thread Rayon
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

Re: [Tutor] mod_python authentication

2009-12-05 Thread Benno Lang
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

[Tutor] mod_python authentication

2009-12-05 Thread Rayon
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