Avatar billede Slettet bruger
05. januar 2006 - 16:11 Der er 1 løsning

SESSION problemer

X I have CMS system which is managing one .INFO site. We're implementing another system in this CMS via IFRAME (the system is on .COM domain). The second system is using SESSION variables for the login, but when I submit the login information (in the IFRAME) its saying that user's information is incorrect. When I press submit, the page is making the right SESSION variables but the problem is that when I change the page (redirect or even click link to another page inside the frame) I'm loosing the SESSION variables. This is happening only in IE (not in Mozilla, not in Opera). I found that IE has security option that enables SESSION cookies in that case (Tools->Internet Options->Privacy->Advanced). When I enable everything its workin properly.. but unfortunately I cant do this for all the users that are visiting the site ;)

So any ideas how to fix this without removing the IFRAME ?
Avatar billede Slettet bruger
05. januar 2006 - 20:02 #1
Place a P3P HTTP header on the pages, like below:

header('P3P: CP=NOI CURa ADMa OUR NOR IND COM NAV')

Read more http://www.sitepoint.com/article/p3p-cookies-ie6/2
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester