Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Mod_python, jsonrpc and sessions

Thread Tools

Mod_python, jsonrpc and sessions
Posts: n/a

I've got a python web-application being served by apache via
mod_python, in which the users sessions are tracked via the mod_python
Session module.
Some of websites generated contain a java-script function which starts
a jsonrpc call to the same server and gets further data or stores
something to a database (AJAX). The server-sided jsonrpc functions are
written in python as ServiceMethods.

As I need to identify the user issuing the rpc call, I'm wondering if
there is any possibility to access the session created by the
previosly called mod_python Handler-method. In mod_python it is
accessed using the mod_python request object, but in the rpc
servicemethod I don't have such an object. So how can I track the rpc

Any ideas and hints appreciated.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] git JSONRPC web service and matching pyjamas front-end Luke Kenneth Casson Leighton Python 3 06-30-2010 04:18 PM
Mod_python, jsonrpc and sessions Python 1 01-14-2009 09:19 PM
question on Ajax/jsonrpc vk02720 Javascript 1 09-26-2006 03:52 PM
question on Ajax/jsonrpc vk02720 Java 1 09-26-2006 03:52 PM
Re: Relationship between IIS Sessions and ASP.NET Sessions? Ken Cox [Microsoft MVP] ASP .Net 1 08-08-2003 03:22 PM