问题描述
我有一个 payara 实例。已经能够配置从我的 apache 网络服务器到我的 payara 的请求转发。但是,在每次使用我拥有的实际域 url 重新加载页面时,会话都会重新创建,因此丢失了存储在先前请求的会话中的任何属性。但是,当我通过 ipaddress 而不是域名访问我的应用程序时,不会发生同样的情况
i am using a centos8 vps. didnt find **mod_session** as part of the modules in the **/etc/httpd/modules** folders so i installed using
**yum install mod_sessions**
and after running successfully checked and they were Now in the modules folder. so i then edited the **/etc/httpd/conf.modules.d/01-session.conf** with the following lines
**LoadModule session_module modules/mod_session.so
LoadModule request_module modules/mod_request.so
LoadModule session_cookie_module modules/mod_session_cookie.so
LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule auth_form_module modules/mod_auth_form.so
LoadModule session_crypto_module modules/mod_session_crypto.so**
and then restarted the apache httpd server.
However,still doesn't work. visiting the webpage via the domain name recreates a new session at every request.
i added **stickysession=JSESSIONID** to the PROXYPASS in the VirtualHost Setting of the domain and still no change. session get recreated at each request
**Please helP**
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)