Issue Details (XML | Word | Printable)

Key: MODPYTHON-59
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Jim Gallacher
Reporter: Jim Gallacher
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
mod_python

Add get_session() method to request object

Created: 14/Jun/05 11:49 AM   Updated: 20/Oct/06 02:47 PM
Return to search
Component/s: session
Affects Version/s: 3.1.3, 3.1.4, 3.2.7
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works Session.py.diff.txt 2005-08-09 09:22 PM Graham Dumpleton 2 kB
Environment: All

Resolution Date: 20/Oct/06 02:47 PM


 Description  « Hide
Users will get session instances by calling req.get_session(). If a session already exists it will be returned, otherwise a new session instance will be created. Session configuration will be handled using apache directives rather than within their code.

Using this scheme means only one session instance will be created per request, which will eliminate the deadlock problems many people experience. Also, using this scheme makes it possible for sessions to be properly handled within psp pages and across req.internal_redirect() calls.

Code will be commited to svn shortly.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Gallacher made changes - 29/Jul/05 10:20 AM
Field Original Value New Value
Affects Version/s 3.2.0 [ 11060 ]
Affects Version/s 3.3.0 [ 12310101 ]
Graham Dumpleton made changes - 09/Aug/05 09:22 PM
Attachment Session.py.diff.txt [ 12311652 ]
Nicolas Lehuen made changes - 10/Aug/05 08:03 PM
Affects Version/s 3.3.0 [ 12310101 ]
Affects Version/s 3.2.0 [ 11060 ]
Affects Version/s 3.1.3 [ 11010 ]
Fix Version/s 3.3.0 [ 12310101 ]
Affects Version/s 3.1.4 [ 11091 ]
Nicolas Lehuen made changes - 22/Oct/05 04:01 PM
Component/s core [ 11607 ]
Component/s session [ 12310384 ]
Jim Gallacher made changes - 12/Mar/06 05:45 AM
Assignee Jim Gallacher [ jgallacher ]
Graham Dumpleton made changes - 13/Aug/06 07:48 AM
Fix Version/s 3.3 [ 12310101 ]
Jim Gallacher made changes - 20/Oct/06 02:47 PM
Resolution Won't Fix [ 2 ]
Status Open [ 1 ] Closed [ 6 ]