answersLogoWhite

0


Best Answer

Yes you can store it but the value which is assigned at the last will be accessed when the value is displayed.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you store the two variables with different values but having same name in session object?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you set the session variables in jsp?

The session variables can be accessed in a jsp page from the request object. Note: Accessing session contents in JSP is not a good design practice


How do you make object persistent?

Persistent objects exist even after the program exits. They are persistent because they reside inside non RAM memory or ROM memory. Eg: Object variables used to create for an application or an user session.


Why do you need momentum?

Momentum is defined as the "Mass in Motion". It is a Vector quantity. It depends on two variables (Object Mass and Velocity) . Its direction is same as objects velocity direction. In physics momentum is required to specify the motion of the object . If two bodies of same masses having different velocities have different momentum , in a similar way bodies of different masses having same velocity have different momentum. So , in order to describe the motion of object clearly one of the tool in classical mechanics is momentum


Why use of external variables is discouraged?

External variables, or global variables, are generally frowned upon because any code with access to the variables can alter the variables in unexpected ways. Object oriented programming addresses this problem by allowing programmers to encapsulate those variables into an object (often a singleton object) which provides far greater control over how those variables may be altered.


What variables would be used to show motion of an object on a graph?

A graph and an object.


List 20 English words having different spelling and same pronunciation but different meanings?

object


What are instance variables?

These are normal variables declared within a class that are attached to an object instance of a class.


What is basic unit of encapsulation?

A Class. It encapsulates its variables and methods into it.


Effect of assigning one object reference variable to another object reference variable?

In that case, both variables will point to the same object. Changes done through one object reference will also be visible if you access the object through the other object reference.In that case, both variables will point to the same object. Changes done through one object reference will also be visible if you access the object through the other object reference.In that case, both variables will point to the same object. Changes done through one object reference will also be visible if you access the object through the other object reference.In that case, both variables will point to the same object. Changes done through one object reference will also be visible if you access the object through the other object reference.


Define sessions in aspnet?

ASP.NET automatically creates a session for each unique browser connection to your application. You can access the session through the Session[] collection in any System.Web.UI.Page object.


What variables can affect an object floating?

Air Resistance


Can object extends?

objects are instances of class only and moreover objects are object reference variables extension of variables is meaningless so objects in java can't be extend