• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Why to use external session management techniques when session object in JSP is implicit?

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I had been to one interview, there they have asked me:

1) what are the implicit objects in JSP?

...so i told all the implicit objects....as we know Session is also one among them.

2) Then they asked me how do you manage sessions in JSP?
...My answer was HttpSessions and URL rewriting.....

3)The third question was very tricky, when sessions is already implicit, why do you need another session management technique? why can't you use implicit object? don't you think you are negating your own statement?

For this question, i had no answer.....i was looking starts..........

Can anyone please help me to find out the answer for 3rd question?

Regards,
 
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "other session management technique"?
 
Anu satya
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:What "other session management technique"?
Other management techniques are: HttpSessions, URLrewriting...

 
Bear Bibeault
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not making any sense. How are those "external"? The implicit session variable in JSP is an instance of HttpSession, so how is that "external"?

And URL re-writing is just a way of maintaining the session in the absence of cookies. Again, nothing "external" about it.

Perhaps the interviewer was just fishing to see if you knew these comcepts?
 
Anu satya
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear Bibeault,

Thank you for your reply. But, still i could not understand the concept clearly.
Is it possible to explain more clearly about what you are trying to tell..?
Please?

 
Anu satya
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone please help me
 
Bear Bibeault
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is you who needs to explain your question more clearly.

You still haven't explained what "external session management techniques" are.
 
A tiny monkey bit me and I got tiny ads:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic