Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to persist few values entered by the user throught out the application. I can save this information in an object ans keep it in session

Is there any way that I can create an object having all req values and access the object on any page without passing in session ?

Thanks,
Divya
Posted

You can use cross page. Some link for cross page =>

Click

Click
 
Share this answer
 
you can create a global class in which you can create appropriate variable and Method, which is resposible to keep value for globally access. and now come to the form where you enter the information and pass information to the variable of global class.
 
Share this answer
 
Comments
Divymital 25-Oct-10 10:08am    
The value I need to persist in the object is specific for every user but I am not sure if global file will help me in achiving this purpose .. :( .. This could expose it to all uers .. Please correct me if I am wrong.

Thanks for reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900