I have set up apache to host the same applications via http and https. When 
I log on as a user with one protocol, I must always log on with that 
protocol or I get the following error:

Versionweb2py™Version 2.8.2-stable+timestamp.2013.11.28.13.54.07PythonPython 
> 2.7.3: /usr/bin/python (prefix: /usr)Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
>
> Traceback (most recent call last):
>   File "/home/www-data/web2py/gluon/main.py", line 479, in wsgibase
>     session._try_store_in_cookie_or_file(request, response)
>   File "/home/www-data/web2py/gluon/globals.py", line 1089, in 
> _try_store_in_cookie_or_file
>     return self._try_store_in_file(request, response)
>   File "/home/www-data/web2py/gluon/globals.py", line 1096, in 
> _try_store_in_file
>     or self._unchanged(response)):
>   File "/home/www-data/web2py/gluon/globals.py", line 1041, in _unchanged
>     session_pickled = cPickle.dumps(self)
>   File "/usr/lib/python2.7/copy_reg.py", line 84, in _reduce_ex
>     dict = getstate()
> TypeError: 'NoneType' object is not callable
>
> Error snapshot [image: help]
>
> <https://widget.dev/admin/default/ticket/welcome/192.168.1.30.2014-01-21.17-11-22.b9c4103e-85ae-463e-a247-df17cde791b2#><type
>  
> 'exceptions.TypeError'>('NoneType' object is not callable)


If I log out of the application via the browser and restart apache on the 
server, I can then log in using either protocol, but again, once I've 
logged in with http or https, all future logins must be done on that 
protocol. It's not the end of the world, it's just kind of irritating and 
I'm curious about it. Anyone have any thoughts?

Thanks,
Colin

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to