how to create different session for 2 browsers

how to create different session for 2 browsers , where one browser is child of another browser ?
[103 byte] By [869318shashikumarscreena] at [2007-11-26 12:18:14]
# 1
Duplicated post http://forum.java.sun.com/thread.jspa?threadID=5114228
574718aniseeda at 2007-7-7 14:57:30 > top of Java-index,Archived Forums,Socket Programming...
# 2
Make sure the Servlet engine does not try to use cookies for the session ID, then create a hyperlink to open a new window without response.encode()-ing its URL.
172863quittea at 2007-7-7 14:57:30 > top of Java-index,Archived Forums,Socket Programming...
# 3
please help me to solve this
869318shashikumarscreena at 2007-7-7 14:57:30 > top of Java-index,Archived Forums,Socket Programming...
# 4

In that case it's really only one browser and cookies will be shared.

This is one reason why sessions are of somewhat limited use (another problem is the "back" button).

There is often data that you need to maintain through the course of a conversation which doesn't really belong in Session because of these problems. The trick is to use hidden input fields on HTML forms, either to store the data itself or some kind of token to access that data. If there's only a small amount of data store the data itself in the form. If there's a larger amount then you can do tricks like storing a random key, and using that key to access a session attriibute specific to that conversation.

172116malcolmmca at 2007-7-7 14:57:30 > top of Java-index,Archived Forums,Socket Programming...
# 5

Make sure the Servlet engine does not try to use cookies for the session ID, then create a hyperlink to open a new window without response.encode()-ing its URL.

Since I am using using DWR- frame work i, I can not use encodeUrl method OR I can not deal with request object in Sevlet.

Instead can u suggest me some solution , where i can solve this using jsp code itself

Please forgive me if my english is bad

869318shashikumarscreena at 2007-7-7 14:57:30 > top of Java-index,Archived Forums,Socket Programming...
# 6
> Make sure the Servlet engine does not try to use> cookies for the session ID, then create a hyperlink> to open a new window without response.encode()-ing> its URL.If you are using cookies it doesn't matter what you do with the URL.
229316YoGeea at 2007-7-7 14:57:30 > top of Java-index,Archived Forums,Socket Programming...