Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Session attribute tags

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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

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 by kaz]
Migrated From
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • 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.

[originally posted on by Rafael Steil]
I found some pretty shells, some sea glass and this lovely tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic