Rookie-level problem, how to secure the variable in memory, waiting line - Urgent

Category: Web Develop
2011-01-31 10:34:54

Sponsored Links
Variables to be referenced in a different servlet, what is wrong with a session in places such as security?

there a better way to do this?

Sponsored Links

2011-01-31 10:49:31
ServletContext can also be placed inside

ServletContext context = getServletContext ();
context.setAttribute ("aaa", "bbb") ;

context.getAttribute ("aaa");
2011-01-31 11:07:50
request.setAttribute ("key", "Value") can also be
2011-01-31 11:11:34
session is each browser a session, ServletContext seems to be shared ah?
request.setAttribute ("key", "Value") can only be passed between values ​​in a request, you can not pass it in a different servlet?
I mean the first one to return to a servlet jsp, the jsp and to another servlet
2011-01-31 11:19:24
variables can encrypt and above in the server configuration, as mentioned above
2011-01-31 11:33:43
information class implements Serializable interface
2011-01-31 11:43:43
that another question is asked, how to see the value in the server-side session?
2011-01-31 11:57:42
on the session should be quite safe.
application server that is their problem. Not a programming problem.
2011-01-31 12:10:02
context, SESSION can be.
2011-01-31 12:26:22
personal opinion:
on the application, session, request, context can be.

which are stored on the server side

== ==================

session by session ID to locate a particular session (connected with a user session)

For the client, session is safe, but, session security is not linear.
---------------------- --------------------------------
unlike the application, is a global variable.

good luck
2011-01-31 12:28:29
It is said that the browser can see the value of someone else's session, I do not know how to write the code, someone could write an example?
together to learn
2011-01-31 12:45:48
this post cold, their top
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.