Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

In my layout page i have to check whether cooky is null or not,if it is null then i have to show dropdwon,having two option let's say 1 and 2,If user selects 1 ,then need to store 1 in cooky,than if same user login again ,need to use stored cooky and need to show only one action link instead of dropdwn.

Please suggest.
Posted
Comments
F-ES Sitecore 16-Nov-15 6:52am    
Break the problem down into parts...google "asp.net mvc read write cookies" "asp.net mvc show dropdown box" "asp.net mvc optionally show controls". Learn how to do each thing them put it all together. If you get stuck then feel free to ask a specific question about a specific problem.
ZurdoDev 16-Nov-15 7:47am    
Where are you stuck?

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