session-cookies

session not shared between two server

僤鯓⒐⒋嵵緔 提交于 2020-01-01 06:26:04
问题 i have big trouble with my application that web-application(jsp,java,servlet) landed between two server cause there is load-sharing between server but unfortunately session not maintaining between server now i am checking checking after login if session is there than ok otherwise i am taking all credential from url (visible encoded url with same key if somebody remember url then big mess ) obviously its not secure at all ,SO how we can resolve this problame at application level please guide

Checking if user has changed cookie value, manually

和自甴很熟 提交于 2019-12-31 22:54:12
问题 I am busy with a login system for my project. Just for an extra step to the security.. How can I check/detect if a user has manually changed a cookie value? Is there some easy way of doing this? Or do I have to set an extra Session variable and match it up with that? With this being said, is a normal ASP.Net Session traceable by the browser? And viewable to the user? Thanks. 回答1: You could append a digital signature to the cookie value and check the signature when you read it back. That way,

PHP Session lost half way through buying process

你。 提交于 2019-12-31 05:28:11
问题 THE SET UP I have a buying process that has the following stages: results customer payment order-conf The results page sets a session variable with an ID from our orders database table. Each page posts data to the next one. The start of customer and payment BOTH check the existence of the ID number session variable. As you can imagine, 99% of browsers with default cookie settings have no problem with the setting of these sessions vars and reading them. I get an alert whenever that session var

Flask session forgets entry between requests

烂漫一生 提交于 2019-12-30 17:40:28
问题 I'm using the latest Flask/Werkzeug (Flask 0.9) client-side sessions to persist information between requests. The session is not set to be persistent (as I'm fine with the cookie being deleted when the browser is closed). My problem is as follows: I use some server-side code to fill the Flask session variable with an entry. After this, the Session variable looks something like this: <SecureCookieSession {u'items': SOMENOTVERYIMPORTANTDICTIONARY}, '_fresh': True, 'user_id': u'1', 'csrf':

Flask session forgets entry between requests

最后都变了- 提交于 2019-12-30 17:40:09
问题 I'm using the latest Flask/Werkzeug (Flask 0.9) client-side sessions to persist information between requests. The session is not set to be persistent (as I'm fine with the cookie being deleted when the browser is closed). My problem is as follows: I use some server-side code to fill the Flask session variable with an entry. After this, the Session variable looks something like this: <SecureCookieSession {u'items': SOMENOTVERYIMPORTANTDICTIONARY}, '_fresh': True, 'user_id': u'1', 'csrf':

Sending cookie as request header in SOAP UI request for rest web service

混江龙づ霸主 提交于 2019-12-28 13:46:29
问题 I am testing a Rest API using SOAP UI tool. First, I hit another API which gave me the jSessionid and then in my actual request I added a parameter to the request header by the name "Cookie" and provide it the above extracted jsessionid value. Everything worked fine. What I want is to somehow dynamically set the cookie/jessionid in request header without explicitly/manually doing it. How can it be done? 回答1: You can create a application session from the UI and use cookies that save the

Forcing Tomcat to use secure JSESSIONID cookie over http

白昼怎懂夜的黑 提交于 2019-12-28 11:53:24
问题 Is there a way to configure Tomcat 7 to create JSESSIONID cookie with a secure flag in all occasions? Usual configuration results in Tomcat flagging session cookie with secure flag only if connection is made through https. However in my production scenario, Tomcat is behind a reverse proxy/load balancer which handles (and terminates) the https connection and contacts tomcat over http. Can I somehow force secure flag on session cookie with Tomcat, even though connection is made through plain

Forcing Tomcat to use secure JSESSIONID cookie over http

会有一股神秘感。 提交于 2019-12-28 11:52:01
问题 Is there a way to configure Tomcat 7 to create JSESSIONID cookie with a secure flag in all occasions? Usual configuration results in Tomcat flagging session cookie with secure flag only if connection is made through https. However in my production scenario, Tomcat is behind a reverse proxy/load balancer which handles (and terminates) the https connection and contacts tomcat over http. Can I somehow force secure flag on session cookie with Tomcat, even though connection is made through plain

Is a URL with // in the path-section valid?

感情迁移 提交于 2019-12-28 05:36:15
问题 I have a question regarding URLs: I've read the RFC 3986 and still have a question about one URL: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character. If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//"). In addition, a URI reference (Section 4.1) may be a relative-path reference, in which case the first path segment cannot contain a colon (":") character. The ABNF

PHP session variables not being maintaned

旧巷老猫 提交于 2019-12-28 04:27:08
问题 I have an application that has been working with session variables no problem. I start the session before the headers on every page that uses when, it has been fine then it seems all of a sudden I'm getting an undefined index error when I navigate to a page other than the one that sets up the session variables. But only on some browsers . Sometimes sessions are maintained and sometimes they aren't. It seems that cookies aren't being stored some of the time. I've done checks using different