• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Session attribute tags

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all im trying to code some tags for easy access to the session attributes.
this way they can be set and get from within the page.
is my understanding correct that this can all be done through SessionFacade?
and if it is what objects and attributes does jforum put in the session so i can

1 get them in or out.
2 prevent collisions with my own attributes and objects

if this is not correct do i have to get them directly as in
JForum.getRequest().getSession()

I am integrating my site into jforum and would rather use jforum's session management than trying to make mine mesh and duplicate efforts.

Thanks for your help and when done i will contribute my efforts back to the community
[originally posted on jforum.net by kaz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can use SessionFacade(), altough getRequest().getSession() will also work (eg, you can use both).
As far as I remember, I put "logged" and the user session's id.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I'm so happy! And I wish to make this tiny ad happy too:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic