I wish to disable MKBrowser from the Context Menu,
It's not in my Application.config file. Thanks
Uzo
The Opportunity Gap
Between what is and what could be exists a potential gap.
This gap is an opportunity gap; With every passing of time, it closes.
The gap becomes closed, when what was beco
Basically, I can telnet to the app server's port. I
am using mod_webkit, when I go to
www.mysite.com/WKMod, I get an Internal Server Error,
when I look at my httpd error file, I see the
following.
[Tue Feb 15 16:34:03 2005] [error] (9)Bad file
descriptor: cannot scan servlet headers
[Tue Feb 15 1
Hey all,
How are you all dealing with web security? Preventing SQL injection attacks and cross site scripting attacks...
UzoThe Opportunity Gap
Between what is and what could be exists a potential gap.This gap is an opportunity gap; With every passing of time, it closes.The gap becomes close
I am using DBPool with pyPgSQL. I am curious as to how transactions work with DBPool.
Suppose I have the following.
conn = dbpool.getConnection()
c = conn.cursor()
try:
c.execute(foo1...) # inserts and updates
c.execute(foo2...)
c.execute(foo3...)
c.close(); conn.commit(); conn.clo
Hello,
I would ask you to check where your cart data is stored. How are you storing it? Is it inside of a class? Is it inside the __init__ function? I once experienced such a thing, the problem was in how/where I declared my data.
UzoLincoln Han <[EMAIL PROTECTED]> wrote:
Hi,I just recent
Pretty much, I want to just have my .pyc without the source files on my production public web server as an additional security precaution. Is this possible?The Opportunity Gap
Between what is and what could be exists a potential gap.This gap is an opportunity gap; With every passing of time, it
What do you mean by .commit()? do you mean c.commit()?maluke <[EMAIL PROTECTED]> wrote:
it should be .commit()-- малюк [ [EMAIL PROTECTED] // ICQ: 39027534 ]The Opportunity Gap
Between what is and what could be exists a potential gap.This gap is an opportunity gap; With every passing of time, it
I have a file MyDataPool.py
from MiscUtils.DBPool import DBPool
from pyPgSQL import PgSQL
dbpool = DBPool(PgSQL, 10, 'localhost::foo:user1:')
Then in all my python code and servlets
I find myself constantly doing
conn = dbpool.getConnection
c = conn.cursor()
c.execute(QUERY)
c.close
conn.comm
I added a printConfig() statement, it prints the configuration for my SecurePage, which is also extended... So I guess my question is, if one extends a class that already has a configurable, is there any way for the new class to have it's own configurable? I can't just use an instance of it since
I have
<%@ page import="MiscUtils.Configurable:Configurable " %>
<%@ page extends=Configurable"%>
return "Configs/Foo.config"
later on, I try to test for
self.hasSetting('bar') and I get nothing even tho 'bar':123 does exist in the config file...
What am I missing?
Uzo
Do you Yahoo!?
n and validate the expiration of the cookie everytime? Also where is the best place to handle it, in the awake or respond cycle?
Peter Lyons <[EMAIL PROTECTED]> wrote:
Uzo Uzo wrote:> def setMyCookie(self):> cookie = Cookie('val', 'key')> t = timestuf
I have a SecurePage which is inherited from SitePage.
In my awake cycle of the SecurePage, I handle authentication, if the authentication is successful, then I set my cookie. I have something like this
def setMyCookie(self):
cookie = Cookie('val', 'key')
t = timestuff()
cookie.setExpi
Shouldn't SidebarPage have a writeFooter()? I
personally do not feel like including a footer anytime
I have a writeContent(), I will like to extend
SidebarPage once and define my writeFooter() only
once. I am definitely going to be modifing my
SidebarPage to support this and I feel that it is an
how do I spawn a new thread?
--- Ian Sparks <[EMAIL PROTECTED]> wrote:
>
> Uzo wrote :
> >>
> A certain part of my web application sends out
> email,
> for whatever reason, when I reached this part
> webware
> locked up,
> <<
>
> It should only lock up for the request (thread) that
> it is proces
A certain part of my web application sends out email,
for whatever reason, when I reached this part webware
locked up, now I understand that it could be
improperly configured webserver, but what bothers me
is that webware is locked up and waiting for the email
to go through before processing other
I have a web application, and at the end of every day,
I do love to run a task and generate reports... It
seems that if I use TaskKit, I have to go to a page to
activate it. I do love my tasks to start
automatically everytime I start my web application
without me actually going to a page to start
I have my pages my "SitePage" class which inherited
the Page class. in SitePage I declared my own
writeStyleSheet(), this function gets called whenever
any page is loaded, I know this cuz of a simple print
statement in there, yet my pages don't actually have
the string returned anywhere in it. Th
I am using DBPool and PostgreSQL, After inserting an
entry into my database, I wish to know the OID. From
python. One could do r=c.query("..."), and access
this information via r.oidValue. Is there anyway to
do this with DBPool.
I have something like
c=conn.cursor()
c.execute(QueryStr)
After t
I have a Shop Context
in its __init__.py I initalized DBPool
from MiscUtils.DBPool import DBPool
from pyPgSQL import PgSQL
def contextInitialize(appServer, path):
# Set up DBpool startup and shutdown - 7/6/03
appServer._dbpool = DBPool(PgSQL, 5,
'localhost::foodb:foouser:')
I wish to create a web video rental application
similar to netflix and I want to use Webware.But,
I am not so sure which components to use. From
looking at the docs it looks like I can use middlekit
all by itself, then sometimes it looks like I can just
use PSP/webkit without middlekit. I wis
20 matches
Mail list logo