Session, iframe, cross domain and opera (also safari)

May 8, 2008 at 2:27 PM
I am starting with my application, and it is really giving me headaches :). Everything working then not.. killing me

My last problem is with session. I want to store in the session a code. It is actually working with IE et FF. But I tried with Opera and Safari and it did not work. The session ID is changed on every postback. It is actually working when I am running it outside the iframe. But when it's inside not. I would say it comes maybe from security measures in Opera and Safari when you have cross domain iframe. Am I right ? What should I do ?
I tried cookies also, but it is not working, they are not held.

I am sure I am not the only one to use iframe here, nor the only one to want to use session with. So what is the turn around ?
So, thanks in advance!
May 8, 2008 at 4:01 PM
Ok.. for my problem I found a solution, actually using ViewState resolved the problem. Nevertheless, if I would want to use session later, I might want to know a way around. I found something for php going like this:


Would it be possible to do something similar for ASP.NET ?
May 15, 2008 at 11:07 AM
arg!!!! I have the very same problem?
Why is the session changin on postback!