Cook corn and slice off cob, drain and cut artichokes into bite size pieces. In a saucepan melt the cream cheese on low heat to a creamy consistancy, then add the corn , artichokes, and parmesian cheese. Once blended together remove from heat and add in mayo. Blend to a nice consistancy for a dip. Serve warm w/ pita, crackers, or sliced baguette.