Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clear session

 
Minh Phuc
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I had deploy my project on internet. It's using session for login. From A machine I logged with admin role, from other machine I access this web, I don't need login but I have all things same A machine. Please suggest some things for me!
 
R. Jain
Ranch Hand
Posts: 375
1
Java Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Minh Phuc wrote:Hi all,
I had deploy my project on internet. It's using session for login. From A machine I logged with admin role, from other machine I access this web, I don't need login but I have all things same A machine. Please suggest some things for me!


What exactly you want to ask? It would be better if you sound more clear and give some code here!!
 
Tim Holloway
Bartender
Posts: 18423
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In J2EE, each client gets a unique session. Usually that means one session for each client machine, but for those of us who do things like run Firefox and IE at the same time, Firefox will have a session and IE will also have a (completely different) session.

Sessions are tied to logins, but you don't have to be logged in to use sessions. Logging out is a different story, since the accepted way to log out is by destroying the current session.
 
To do a great right, do a little wrong - shakepeare. twisted little ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!