I have strange problem when trying to make ajax calls (all with jquery
supplied with web2py). After an Ajax call previously created session
becomes lost, and new empty session is created. I tried file storage
and db sessions storage, it does not matter. After ajax call, any
other call to the site creates new empty session.

There is an error message in request object, but I am not sure it's
relevant to this problem:
'wsgi_errors': <open file '<stderr>', mode 'w' at 0x170b0>

I am lost for 3 days with this problem! Where to look?

Here is complete request dump:
<Storage {'function': 'add_filter', 'body': <open file '<fdopen>',
mode 'w+b' at 0x65eff08>, 'cookies': <SimpleCookie:
_csuid='47dbd5bc37527d09' session_id_admin='127-0-0-1-4b36395a-
c90d-4b40-a359-42d9db303463' session_id_advantage='127-0-0-1-184830b9-
d184-4e60-8ec4-be367a7b5a56' session_id_welcome='127-0-0-1-
a5552de4-3c7b-4a9a-a93b-12b1ff15e66d'>, 'vars': <Storage {}>, 'args':
[], 'application': 'advantage', 'controller': 'radar', 'client':
'127.0.0.1', 'env': <Storage {'auth_type': '', 'content_length': '0',
'http_user_agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6;
en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/
525.27.1', 'script_name': '', 'actual_server_protocol': 'HTTP/1.1',
'server_protocol': 'HTTP/1.1', 'wsgi_errors': <open file '<stderr>',
mode 'w' at 0x170b0>, 'web2py_path': '/Users/vasilina/Documents/
_Development/ADVANTAGE/web2py', 'http_accept': '*/*',
'wsgi_url_scheme': 'http', 'http_x_requested_with': 'XMLHttpRequest',
'http_referer': 'http://127.0.0.1:8000/advantage/radar/grid/',
'remote_addr': '127.0.0.1', 'wsgi_multiprocess': False,
'http_accept_language': 'en-us', 'wsgi_version': (1, 0),
'request_method': 'POST', 'server_port': '8000', 'wsgi_input':
<gluon.wsgiserver.SizeCheckWrapper object at 0x63cd6b0>,
'wsgi_multithread': True, 'http_cookie': '_csuid=47dbd5bc37527d09;
session_id_admin=127-0-0-1-4b36395a-c90d-4b40-a359-42d9db303463;
session_id_advantage=127-0-0-1-184830b9-d184-4e60-8ec4-be367a7b5a56;
session_id_welcome=127-0-0-1-a5552de4-3c7b-4a9a-a93b-12b1ff15e66d',
'server_software': 'CherryPy/3.1.0beta3 WSGI Server',
'web2py_version': 'Version 1.57 (2009-03-01 22:04:03)\n', 'http_host':
'127.0.0.1:8000', 'path_info': '/advantage/radar/add_filter',
'content_type': 'application/xml', 'http_connection': 'keep-alive',
'server_name': 'Macintosh-2.local', 'remote_port': '49815',
'http_accept_encoding': 'gzip, deflate', 'query_string': '',
'wsgi_run_once': False}>, 'get_vars': <Storage {}>, 'folder': '/Users/
vasilina/Documents/_Development/ADVANTAGE/web2py/applications/
advantage/', 'now': datetime.datetime(2009, 3, 5, 10, 1, 19, 987188),
'post_vars': <Storage {}>}>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to