Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to Take a value & use in whole website wherever i required , one way is to use session , but i have to store more values at same time , So any idea how to do this
Example :

when a user login , i store it's user id in session , i also have to store its name & many more , writing code to call it's name , details using session in page again and again is lengthy and boring , so i have to take values which i required , store some where and use as many times i want ,


so any idea .....
Posted
Comments
Use cookie.

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