Apache Mod-Python - Session docs

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > May 2005 > Session docs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Session docs
Jim Gallacher

2005-05-01, 5:46 pm

I'm creating the documentation for FileSession and I noticed some errors
in BaseSession relating to lockfile.

In the domumentation:

class BaseSession(req[, sid, secret, timeout, lock, lockfile])

The lock argument (defaults to 1) indicates whether locking should be
used. When locking is on, only one session object with a particular
session id can be instantiated at a time. lockfile is the name of a
file to be used for inter-process locks.

Whereas the in the code there is no mention of lockfile:

class BaseSession(dict):

def __init__(self, req, sid=None, secret=None, lock=1,
timeout=0):

Shall I fix the BaseSession docs for submission with the FileSession doc
or would you prefer I file a bug report on JIRA?

Regards,
Jim

Nicolas Lehuen

2005-05-02, 2:45 am

Hi Jim,

You can correct this along with your documentation for FileSession, no
need to open a JIRA ticket for that.

Thank you for your work !

Nicolas

2005/5/2, Jim Gallacher <jg.lists@sympatico.ca>:
> I'm creating the documentation for FileSession and I noticed some errors
> in BaseSession relating to lockfile.
>=20
> In the domumentation:
>=20
> class BaseSession(req[, sid, secret, timeout, lock, lockfile])
>=20
> The lock argument (defaults to 1) indicates whether locking should be
> used. When locking is on, only one session object with a particular
> session id can be instantiated at a time. lockfile is the name of a
> file to be used for inter-process locks.
>=20
> Whereas the in the code there is no mention of lockfile:
>=20
> class BaseSession(dict):
>=20
> def __init__(self, req, sid=3DNone, secret=3DNone, lock=3D1,
> timeout=3D0):
>=20
> Shall I fix the BaseSession docs for submission with the FileSession doc
> or would you prefer I file a bug report on JIRA?
>=20
> Regards,
> Jim
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com