This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Jsp and servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jsp and servlet" Watch "Jsp and servlet" New topic
Author

Jsp and servlet

gajanan deshpande
Greenhorn

Joined: Jun 30, 2001
Posts: 18
I have an session and if i open something in other window can i give a new session id to this new window,is it possible.
ken chou
Ranch Hand

Joined: Feb 08, 2001
Posts: 68

What's the purpose for doing this?
SoonAnn Lim
Ranch Hand

Joined: Jun 21, 2001
Posts: 155
If you are using the same browser, you will be attached with the same session. If you open another browser type Netscape then IE, you will get another session id.
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

You can open a new window and have it maintain a different session, but you must track your sessions by rewriting URL explicitly instead of cookies.


!_I_Know_Kung_Fu_!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsp and servlet
 
Similar Threads
A new Session in another browser window?
Client/browser
create new session?
create new session in jsp
Servlet session