• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get the username from the session

 
Qisen Jia
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use the Tomcat DataSourceRealm login,But I don't know how to set the username into session or get the username from session?
any help be appreciate!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!