Re: Sessions and Frames
| From: | Richard Lynch | Date: | Fri, 14 Apr 2006 00:56:04 +0000 |
| Subject: | Re: Sessions and Frames | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233972@lists.php.net to get a copy of this message | ||
On Wed, April 5, 2006 1:02 pm, Shaun wrote:
> I have a site that uses frames. The frameset loads another site (both
> on the
> same server) in the lower frame window. Every time the page changes in
> the
> lower frame the session id changes, how can I stop this happening?
A) Don't use frames. They suck anyway. :-)
B) Capture the session ID in your FRAMESET page and pass it on to the
FRAMES src= pages.
B2) An IFRAME sucks less and MIGHT "just work"
Actually, though, something else weird has to be going on, I think,
cuz the session cookie should not be getting "lost" just by a frame...
Though, I dunno, I never use frames, so maybe they are even more
broken than I thought.
--
Like Music?
http://l-i-e.com/artists.htm