• 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Session Attributes

 
Ranch Hand
Posts: 765
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the attributes of session are not serialized, then session can be migrated on one machine to another machine?.
Bye.
Viki
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi viki,
didnt get ur question. do u mean to say that "if the attributes are not serialized then can a session get migrated to another machine?" or u want to ask "how" this can be done?
if it is the first question u want to ask...
when u call getAttribute() method on session u get Object as return value now whether it is serializable or not will depend upon the actual object type we have in Object. right? i've not tried what happens when we try to migrate a session to another machine and some attribute is not serializable but i'm sure it will give an error as there isnt a way to serialize the object that doesnt implement serializable or externalizable...
regards
maulin.
 
Vikrama Sanjeeva
Ranch Hand
Posts: 765
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i want to ask first question.Thanks for reply & sorry for late response.
Bye.
Viki.
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember that I once have seen an error in the log-file when attaching an object which did not implement Serializable to a session object by session.setAttribute (theObject).
[ March 02, 2002: Message edited by: Axel Janssen ]
 
Vikrama Sanjeeva
Ranch Hand
Posts: 765
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Axel for conforming.
Bye.
Viki.
 
What's brown and sticky? ... a stick. Or a tiny ad.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic