Re: how to Replicate Session in new window?, target _blank



"awebguynow" <i_dvlp@xxxxxxxxxxx> wrote in message
news:1156971350.543090.268570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm writing a pretty complex webapp, that ideally will have 2-3 popup
windows, but I am losing my session information when I open a new
window.

That should not happen. Session has very little or nothing to do with the
window. It exits per domain, until it expires or the browser is closed. If
you create a new instance of the same browser window, it should not lose the
session.

Is there a way to retain or replicate Session information ?
I've used <a> tag with target="_blank".
I don't know if using a Window name would have any effect at all.

other similar topics:
multiple session with window.open?
'fork' a session
HELP! resetting admin session

There isn't anything like that because there should be no need for such
functionality. I've always used new windows in my applications and never
experienced losing the session. There might something else wrong in your
approach. Make sure you are not linking to a different domain, like from
alpha.example.com to beta.example.com, because that will lose the session
data. Another thing you should confirm is that the page in the new window
doesn't destroy the session.

Very odd case I must say.

--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis
spam@xxxxxxxxxxxxx || Gedoon-S @ IRCnet || rot13(xvzzb@xxxxxxxxxxxxx)


.


Quantcast