• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clear session

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 375
1
Python Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic