yutak kim

Greenhorn
+ Follow
since Jun 09, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by yutak kim

HI,
I am developing the web site aaa.test.com, which is linked from www.test.com. problem is jsessionid,
aaa.test.com opened from www.test.com as a new window.
so, jsessionid created from www.test.com is shared by newly opended aaa.test.com.
But i see a problem, when i try to create a new session from aaa.test.com.
i can't create a new session.
i want to delete jsessionid crated from www.test.com.
But i found the cookie named jsessionid, never deleted...
Also, Session invalidation does't work, since aaa.test.com never have
a session before...
plz, help...
20 years ago
JSP
Hi,
We have two WAS(WebSphere5.xx) after L4 switch.
We use session clustering based on database which is
offered by WebSphere.
So, Session can be shared for both machine with no problem.
however, got a problem to implement single log in.
if same id logged in again, then former session got to be
removed and new session for id should be created
1) Is there a way to invalidate session object with sessionid?
can't use SessionContext any more, but other way?
2) There are logout servlet which invalidate session.
i want to know if HttpUrlConnection like below works?

BufferedReader in;
String url = "http://somedomain/LogoutServlet;jsessionid=SessionIdFromDB
try {
URL call = new URL(url);
URLConnection urlConnect = call.openConnection();
HttpURLConnection connect = (HttpURLConnection)urlConnect;
in = new BufferedReader(new InputStreamReader
(connect.getInputStream()));
String line = in.readLine();
in.close();
} catch (Exception e) {
}

with my test, this is not work, still i don't know why?
LogoutServlet doesn't create same session, though i use
getSession(false);
[ August 05, 2003: Message edited by: yutak kim ]
20 years ago
if possible, How can i use it?
plz, help me...
20 years ago