You are here: Re: how to Replicate Session in new window?, target _blank « PHP Programming Language « IT news, forums, messages
Re: how to Replicate Session in new window?, target _blank

Posted by Kimmo Laine on 08/31/06 06:25

"awebguynow" <i_dvlp@hotmail.com> wrote in message
news:1156971350.543090.268570@i3g2000cwc.googlegroups.com...
> 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@outolempi.net || Gedoon-S @ IRCnet || rot13(xvzzb@bhgbyrzcv.arg)

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация