File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jsp and servlet" Watch "Jsp and servlet" New topic

Jsp and servlet

gajanan deshpande

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 agree. Here's the link:
subject: Jsp and servlet
It's not a secret anymore!