Java JSB Servlets Question and Answers
25. | What is Session Hijacking? |
---|---|
|
|
26. | How do you delete a Cookie within a JSP? |
---|---|
Cookie mycook = new Cookie ("name" , "value") ; response.addCookie (mycook) ; ; Cookie killmycook = new Cookie ("mycook" , "value") ; ; killmycook.setMaxAge(0) ; ; killmycook.setpath (" / ") ; ; killmycook.addCookie (killmycook) ; |
|
27. | What is the query used to display all table names in SQL Server (Query analyzer)? |
---|---|
select * from information_schema.tables. | |
28. | What is session migration? |
---|---|
|
|