posted 19 years ago
If I use "encodeURL" the server will first check if the browser supports cookie. if yes, the URL remains unchanged; otherwise a "jsessionid=.." will be appended to the URL. I know this well.
Now the question is --
1. How can I let server NOT to use cookie (no matter cookie is ON or OFF on the browser) ? Can I do things like appending a jseesionid by myself
url = originalURL + "/jsessionid=" + session.getID();
Does this force the server NOT to get jsessionid from cookie (even the cookie is supported by client browser) ?
2. if I keep using "encodeURL", is there a way to "configure" the server to let server NOT use cookie (i.e never store jsessionid in cookie, instead put in URL)? I knnow by theory if you use "encodeURL" server first checks cookie and goes from there. I just wanna to see if developer can interfere with that.
thanks