On 31 Αύγ, 11:07, Nik the Greek nikos.the.gr...@gmail.com wrote:
On 30 Αύγ, 20:50, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 18:16, Nik the Greek wrote:
On 30 Αύγ, 19:41, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ,
On 30 Αύγ, 20:48, Rami Chowdhury rami.chowdh...@merton.oxon.org
wrote:
On Mon, Aug 30, 2010 at 23:36, Nik the Greek nikos.the.gr...@gmail.com
wrote:
# initialize cookie
cookie = SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
visitor = cookie.get('visitor')
On 30 Αύγ, 20:50, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 18:16, Nik the Greek wrote:
On 30 Αύγ, 19:41, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ, 06:12, MRABpyt...@mrabarnett.plus.com wrote:
This part:
On 30 Αύγ, 06:12, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 03:55, Nik the Greek wrote:
On 30 Αύγ, 05:43, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 03:07, Nik the Greek wrote:
On 30 Αύγ, 04:51, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 02:14,
On 30 Αύγ, 11:01, Nik the Greek nikos.the.gr...@gmail.com wrote:
On 30 Αύγ, 06:12, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 03:55, Nik the Greek wrote:
On 30 Αύγ, 05:43, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 03:07, Nik the Greek wrote:
On 30 Αύγ,
Nik the Greek wrote:
Perhpas its doenst get loaded like that?
# initialize cookie
cookie = SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie = cookie.get('visitor')
Please someone else has an idea on how this to work?
Add a print statement to verify that
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ, 06:12, MRABpyt...@mrabarnett.plus.com wrote:
This part:
( not mycookie or mycookie.value != 'nikos' )
is false but this part:
re.search( r'(msn|yandex|13448|spider|crawl)', host ) is None
is true because host doesn't contain
On 30 Αύγ, 19:41, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ, 06:12, MRABpyt...@mrabarnett.plus.com wrote:
This part:
( not mycookie or mycookie.value != 'nikos' )
is false but this part:
re.search(
On 30 Αύγ, 19:21, Peter Otten __pete...@web.de wrote:
Nik the Greek wrote:
Perhpas its doenst get loaded like that?
# initialize cookie
cookie = SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie = cookie.get('visitor')
Please someone else has an idea on how
On 30 Αύγ, 19:41, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ, 06:12, MRABpyt...@mrabarnett.plus.com wrote:
This part:
( not mycookie or mycookie.value != 'nikos' )
is false but this part:
re.search(
On Mon, Aug 30, 2010 at 23:36, Nik the Greek nikos.the.gr...@gmail.com wrote:
# initialize cookie
cookie = SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
visitor = cookie.get('visitor')
This statement
if (visitor.value != 'nikos') and re.search( r'(msn|yandex|13448|
On 30/08/2010 18:16, Nik the Greek wrote:
On 30 Αύγ, 19:41, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ, 06:12, MRABpyt...@mrabarnett.plus.comwrote:
This part:
( not mycookie or mycookie.value != 'nikos' )
is false but
On 30/08/2010 18:36, Nik the Greek wrote:
On 30 Αύγ, 19:41, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 04:33, Nik the Greek wrote:
On 30 Αύγ, 06:12, MRABpyt...@mrabarnett.plus.comwrote:
This part:
( not mycookie or mycookie.value != 'nikos' )
is false but
On 30 Αύγ, 20:53, MRAB pyt...@mrabarnett.plus.com wrote:
Why visitor.value is undefined?
Because visitor is None. It's not seeing any cookie.
WHY NOT?!
THE COOKIE _DOES_EXIST !!!
What am i missing here?!
--
http://mail.python.org/mailman/listinfo/python-list
On 29/08/2010 06:34, Νίκος wrote:
On 28 Αύγ, 23:15, MRABpyt...@mrabarnett.plus.com wrote:
On 28/08/2010 20:37, Íßêïò wrote:
On 22 Áýã, 10:27, Íßêïònikos.the.gr...@gmail.comwrote:
On 16 Áýã, 14:31, Peter Otten__pete...@web.dewrote:
Íßêïò wrote:
# initializecookie
On 29 Αύγ, 21:44, MRAB pyt...@mrabarnett.plus.com wrote:
On 29/08/2010 06:34, Νίκος wrote:
On 28 Αύγ, 23:15, MRABpyt...@mrabarnett.plus.com wrote:
On 28/08/2010 20:37, Íßêïò wrote:
On 22 Áýã, 10:27, Íßêïònikos.the.gr...@gmail.com wrote:
On 16 Áýã, 14:31, Peter
On 30/08/2010 02:14, Νίκος wrote:
On 29 Αύγ, 21:44, MRABpyt...@mrabarnett.plus.com wrote:
On 29/08/2010 06:34, Νίκος wrote:
On 28 Αύγ, 23:15, MRABpyt...@mrabarnett.plus.comwrote:
On 28/08/2010 20:37, Íßêïò wrote:
On 22 Áýã, 10:27, Íßêïònikos.the.gr...@gmail.com wrote:
On
On 30 Αύγ, 04:51, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 02:14, Νίκος wrote:
On 29 Αύγ, 21:44, MRABpyt...@mrabarnett.plus.com wrote:
On 29/08/2010 06:34, Νίκος wrote:
On 28 Αύγ, 23:15, MRABpyt...@mrabarnett.plus.com wrote:
On 28/08/2010 20:37, Íßêïò wrote:
On 30/08/2010 03:07, Nik the Greek wrote:
On 30 Αύγ, 04:51, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 02:14, Νίκος wrote:
On 29 Αύγ, 21:44, MRABpyt...@mrabarnett.plus.comwrote:
On 29/08/2010 06:34, Νίκος wrote:
On 28 Αύγ, 23:15, MRABpyt...@mrabarnett.plus.com wrote:
On 30 Αύγ, 05:43, MRAB pyt...@mrabarnett.plus.com wrote:
On 30/08/2010 03:07, Nik the Greek wrote:
On 30 Αύγ, 04:51, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 02:14, Νίκος wrote:
On 29 Αύγ, 21:44, MRABpyt...@mrabarnett.plus.com wrote:
On 29/08/2010 06:34, Νίκος
On 30/08/2010 03:55, Nik the Greek wrote:
On 30 Αύγ, 05:43, MRABpyt...@mrabarnett.plus.com wrote:
On 30/08/2010 03:07, Nik the Greek wrote:
On 30 Αύγ, 04:51, MRABpyt...@mrabarnett.plus.comwrote:
On 30/08/2010 02:14, Νίκος wrote:
On 29 Αύγ, 21:44,
On 30 Αύγ, 06:12, MRAB pyt...@mrabarnett.plus.com wrote:
This part:
( not mycookie or mycookie.value != 'nikos' )
is false but this part:
re.search( r'(msn|yandex|13448|spider|crawl)', host ) is None
is true because host doesn't contain any of those substrings.
So, the if code
On 22 Αύγ, 10:27, Νίκος nikos.the.gr...@gmail.com wrote:
On 16 Αύγ, 14:31, Peter Otten __pete...@web.de wrote:
Νίκος wrote:
# initializecookie
cookie=Cookie.SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie =cookie.get('visitor')
if ( mycookie and
Νίκος wrote:
On 22 Αύγ, 10:27, Νίκος nikos.the.gr...@gmail.com wrote:
On 16 Αύγ, 14:31, Peter Otten __pete...@web.de wrote:
Νίκος wrote:
# initializecookie
cookie=Cookie.SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie =cookie.get('visitor')
if (
On 28/08/2010 20:37, Νίκος wrote:
On 22 Αύγ, 10:27, Νίκοςnikos.the.gr...@gmail.com wrote:
On 16 Αύγ, 14:31, Peter Otten__pete...@web.de wrote:
Νίκος wrote:
# initializecookie
cookie=Cookie.SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie
On 28 Αύγ, 23:15, MRAB pyt...@mrabarnett.plus.com wrote:
On 28/08/2010 20:37, Íßêïò wrote:
On 22 Áýã, 10:27, Íßêïònikos.the.gr...@gmail.com wrote:
On 16 Áýã, 14:31, Peter Otten__pete...@web.de wrote:
Íßêïò wrote:
# initializecookie
cookie=Cookie.SimpleCookie()
cookie.load(
On 28 Αύγ, 23:07, Peter Otten __pete...@web.de wrote:
Νίκος wrote:
On 22 Αύγ, 10:27, Νίκος nikos.the.gr...@gmail.com wrote:
On 16 Αύγ, 14:31, Peter Otten __pete...@web.de wrote:
Νίκος wrote:
# initializecookie
cookie=Cookie.SimpleCookie()
cookie.load(
On 16 Αύγ, 14:31, Peter Otten __pete...@web.de wrote:
Νίκος wrote:
# initializecookie
cookie=Cookie.SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie =cookie.get('visitor')
if ( mycookie and mycookie.value != 'nikos' ) or re.search( r'(cyta|
# initialize cookie
cookie = Cookie.SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie = cookie.get('visitor')
if ( mycookie and mycookie.value != 'nikos' ) or re.search( r'(cyta|
yandex|13448|spider|crawl)', host ) is None:
blabla...
I checked
Νίκος wrote:
# initialize cookie
cookie = Cookie.SimpleCookie()
cookie.load( os.environ.get('HTTP_COOKIE', '') )
mycookie = cookie.get('visitor')
if ( mycookie and mycookie.value != 'nikos' ) or re.search( r'(cyta|
yandex|13448|spider|crawl)', host ) is None:
blabla...
30 matches
Mail list logo