it can not be done without cookie supprt .
1 Session shares data in multiople web application with same webserver / contaioner .
2 By default seesion is thread safe.
3 Any serlizble obkjct put into session .
4 every browse must supprt cookie .
5 seesion is invalidate after times minute activity.
which answer is suitable for session.
2)objectput (Object key , object value) in hashtable
it gives null .
neither key nor value would be null otherwise it give null pointer exception .
it will give duplicatepoinet exception .
key cannnot be null but value can be .
which is the best suitbale for hashtable .
1 Session shares data in multiople web application with same webserver / contaioner .
2 By default seesion is thread safe.
3 Any serlizble obkjct put into session .
4 every browse must supprt cookie .
5 seesion is invalidate after times minute activity.
which answer is suitable for session.
2)objectput (Object key , object value) in hashtable
it gives null .
neither key nor value would be null otherwise it give null pointer exception .
it will give duplicatepoinet exception .
key cannnot be null but value can be .
which is the best suitbale for hashtable .
Comment