suppose i open my yahoo mail.then copy the url. then sign
out & close browser.then open browser paste that url on the
browser.will i get my mail opened or not? i know it ill
not.but how it work.how i create like this type of secure site?

Answers were Sorted based on User's Feedback



suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / sandya

By using sessions you can maintain like that.
whenever you signin into yahoo website, then the session
will create one id for ur username and password(if these
two are valid). and this id will reemain ur state till you
signed out from the site.
whenever you signed out from your yahoomail, the session
will expire.
so if u copy the url and paste it any other browser means
it wont work, because the session is already expired.

Is This Answer Correct ?    11 Yes 1 No

suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / vijay arasan. thamil

You can call method session.invalidate() when log out
action have done.

Is This Answer Correct ?    6 Yes 0 No

suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / nisha

This can be protected by making sessions.Session is a
period from login to logout period. while loging out you
can clear the session variables and after closing the
window , if you will paste the url then the old session
will not remain.

Is This Answer Correct ?    4 Yes 0 No

suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / yogesh gandhi

In case of cookies, when we logout, either the cookie is
made invalid or the cookie is deleted from the server.

So, if you again paste the URL, the cookie is not found on
the server, hence your mail will not open

Is This Answer Correct ?    1 Yes 0 No

suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / vijayarasan.thamil

You can also use your own login in session listener.

Is This Answer Correct ?    1 Yes 0 No

suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / rajesh

It depends how the developer is maintaining the sessions.

Cokkies may lead to reopen the yahoon page again with you
login.

Please someone clarify on this more.

Is This Answer Correct ?    1 Yes 1 No

suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser..

Answer / zorro

When u log out cookies are updated with logout info.
So I second sandhya's Answer

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Advanced Java Interview Questions

How would you reatach detached objects to a session when the same object has already been loaded into the session?

0 Answers  


what is the Remote Stub?

1 Answers  


What is JTS?

0 Answers  


Define prototype?

0 Answers  


What is the difference between a stub and a skeleton?

9 Answers   ABC, College School Exams Tests, Geoservices, Polaris, Qualcomm, Rajiv Gandhi College of Engineering and Technology RGCET, UTIITSL, Wipro,






difference between sql exception class and sql warning class

1 Answers  


how to search the pertical objects in a Collections

3 Answers   iGate,


Explain Object Serialization and it can be used?

3 Answers   Infosys,


whats is mean by connectionpooling

2 Answers   SolutionNET,


what is difference between object state and behaviour?

3 Answers  


What is RMI architecture?

11 Answers   Infosys,


In a multitiered application which tier is the browser in?

3 Answers   Adobe,


Categories