> below is python script c_nlogged:
> request = container.REQUEST
> RESP = request.RESPONSE
> passwd = request.password1
> user = request.username,
See the comma on the end of the user= line? That's your syntax error.
When you get a syntax error always check a couple of lines further up
> if container.chkpwd(uname=user,pwd=passwd): //getting sysntax error here.
> below is zsql method chkpwd :
> select distinct(password) from c_userdet where
> username=<dtml-sqlvar uname type="string">
> password=<dtml-sqlvar pwd type="string">
> i wanted to avoid d middle python script n handle the pwd validation
> in the same zpt .
> is it possible.
> i have carry req vars eg. username pwd ,districtname in session for future
And can you _PLEASE_ use proper English spelling? It's not 'd', it's
'the'. I realise that you may not be a native English speaker so I
won't worry about grammar, but when I see an email like this 99% of
the time I don't even bother reading it. I don't mean to be offensive,
but I think you would get a better response if your emails were easy
to read, with proper capitalisation and words spelt out in full.
[EMAIL PROTECTED] / [EMAIL PROTECTED]
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -