November 24, 201015 yr hello i have a Q and i hope i find a reply i made a login page which use cookies and when i put this page in iframe it stopped saveing the cookies and it not work i wanna to ask how to use cookies within iframe?? and if no solutions - i don't hope that - what is the alternatives? thanks
November 24, 201015 yr hello i have a Q and i hope i find a reply i made a login page which use cookies and when i put this page in iframe it stopped saveing the cookies and it not work i wanna to ask how to use cookies within iframe?? and if no solutions - i don't hope that - what is the alternatives? thanks Im confused why do u need to use iframes at all when u can use php includes to get the same effect? iframes really is not a good way of doing things
November 24, 201015 yr Im confused why do u need to use iframes at all when u can use php includes to get the same effect? iframes really is not a good way of doing things Iframes are not acceptable nowdays, infact im suprised browsers even support them.
November 24, 201015 yr Author first of all thanks for reply i know that iframe isn't good in most situations cuz search engines not index it, but actually it is useful in alot of other situations like facebook like button which put on other websites it uses iframe and google adsense it uses iframe too. the situation of my code is similer i want to include a login page in a blogger in blogsot so i can't use include function in this problem but i can use iframes. the problem now is that i can't access cookies from this iframe but in facebook like box which uses iframe too but they can access cookies so they can show me login inside the iframe and that what i ask about, How to access cookies inside the IFrame hope i find a solution or alternative for this situation ... thanks again for trying to help
November 25, 201015 yr Author i found the solution add this to top of php code header ( "p3p:CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""); and it appear works with me thanks for all who try to help
November 25, 201015 yr i found the solution add this to top of php code header ( "p3p:CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""); and it appear works with me thanks for all who try to help See told u google helps lol
Create an account or sign in to comment