Its been very kind of u all to be critical about a newbie like me. I'll definitely lookout for those ettiquetes.
My python script error got solved as i missed the silly ' ' in the response.redirect statemnet. I set the user and pwd request vars in sesson var. Tried cookie crumbler and MysqlUserFolder and UserFolder also but they all need to changed much and my requirements are diffrent. I'm building a trial govt. site for stores management which was built previously in ASP. The login page takes the districtname , username and passwd . according to the type of user different menus are displayed. For this i need to have the districtname , username and passwd carried on throughout the session. my current requirement is to pass the session vars through the python script which is the action of the login form. I've gone through the zopebook but dint find much help there. can u plz tell me where do i get to know about pythopn scripting done in zope n ZPT examples. i'm really sorry for my erronous language. please dont overlook theese humble requests. On Fri, 1 Apr 2005 23:07:38 +0200, Dieter Maurer <[EMAIL PROTECTED]> wrote: > prabuddha ray wrote at 2005-3-30 23:50 -0800: > > ... > >now my problem how n where do i check d pwd n redirect to the next zpt > >or the previous one if its wrong. > > Apparently, you need some background reading... > > Especially, you need to understand that HTTP is a stateless > protocol and *EACH* request must somehow perform its own > authentication. That's why usually login information is > (somehow) coded in a cookie. > > You really should follow the advice to look at an existing > UserFolder (they are responsible for authentication). > You may need to adapt/extend an existing UserFolder. > > > -- > Dieter > -- Share the vision of difference with ME _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )