my source application embeds third party application in source application iframe problem when use scenario in ie 10,9,8 on first request session has expired on consecutive request works fine. cant understand issue because in firefox , chrome , safari working fine , on ie working fine on first request gives session has expired error. scenario: source application post form third party application , in return put result in iframe of source application . application developed in asp.net can 1 me how can issue solved. browsers handle cookies differently in iframe situations. think this comment describes you're seeing.
calling list<pc> _pclist = new list<pc>(); ...add pc pclist.. writexml<list<pc>>(_pclist, "ss.xml"); function public static void writexml<t>(t o, string filename) { string filepath= environment.getfolderpath(environment.specialfolder.applicationdata) + "\\genweb2\\adsnopper\\" + filename; xmldocument xmldoc = new xmldocument(); xpathnavigator nav = xmldoc.createnavigator(); using (xmlwriter writer = nav.appendchild()) { xmlserializer ser = new xmlserializer(typeof(list<t>), new xmlrootattribute("therootelementname")); ser.serialize(writer, o); // error } file.writealltext(filepath,xmldoc.innerxml); } inner exception unable cast object of type 'system.collections.generic.list 1[pc]' type 'system.collections.generic.list 1[system.collections.generic.list`1[pc]]'. please help the problem line xmlserializer ser = new xmlserializ...
Comments
Post a Comment