IntelliJ Java IDE
The moose likes Servlets and the fly likes Problem in opening tTwo Browser Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Problem in opening tTwo Browser" Watch "Problem in opening tTwo Browser" New topic
Author

Problem in opening tTwo Browser

bhuwan tiwari
Greenhorn

Joined: Jan 04, 2001
Posts: 19
I had devloped the Mail Client Using Java mail API and servlet.
The problem ouccurs When i open two browser with different login
passoword. Both browser shows the same mails as of the lastt
account open. This problem is also apperent with Yahoo Mail.
Please give some direction
thanx
Bhuwan
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
This sounds very much like you are using member variables in your servlet class to store information. Remember that the same servlet object will be used to process all the incoming requests, so if you have any information which you need to keep between requests you should store it somwhere which is not shared between requests. The most popular place for such information is in the "session". Look up Session in your servlet API documentation.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
bhuwan tiwari
Greenhorn

Joined: Jan 04, 2001
Posts: 19
Hi Frank,
Thanx for response.
As for my application is concrned i am not using the any memeber
variable. I used member prevously but i faced lots of problem as
u rightly said, in that case this problem occurs on different
system too. After chaning member variable tosession variable
probem of different computer is solved but still it is giving
problem on same sytem.
Its is giving different session for different browser but stiil
not opening independent account.
bhuwan

 
 
subject: Problem in opening tTwo Browser
 
Threads others viewed
Opening encrypted mails
default email browser on click ???????????
Sending mail on click !
Embedding the Netbeans Project to my site
Open the same browser window from a hyperlink in email.
IntelliJ Java IDE