Re: [PHP] Sessions and Frames

2006-04-13 Thread Richard Lynch
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

[PHP] Sessions and Frames

2006-04-05 Thread Shaun
Hi, 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? Thanks for your help -- PHP General Mailing List

Re: [PHP] Sessions and Frames

2006-04-05 Thread Richard Lynch
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? You might be able to reduce

Re: [PHP] Sessions and Frames

2006-04-05 Thread Joe Wollard
I agree with Richard on this one. Frames should really be avoided if for no other reason than they cause headaches like the one you have right now. ;-) If you can't avoid them, keep it simple - just store the ID in one place, like a session cookie. Doing so will make sure that if the session ID

Re: [PHP] Sessions and Frames

2006-04-05 Thread Richard Lynch
On Wed, April 5, 2006 1:33 pm, Joe Wollard wrote: If you can't avoid them, keep it simple - just store the ID in one place, like a session cookie. Doing so will make sure that if the session ID gets changed in one frame it will still be correct in all of the other frames. No, it won't.

Re: [PHP] Sessions and Frames

2006-04-05 Thread Shaun
Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, April 5, 2006 1:33 pm, Joe Wollard wrote: If you can't avoid them, keep it simple - just store the ID in one place, like a session cookie. Doing so will make sure that if the session ID gets changed in one

Re: [PHP] Sessions and frames

2005-04-16 Thread Gustav Wiberg
] Sessions and frames Gustav Wiberg mailto:[EMAIL PROTECTED] on Thursday, April 14, 2005 4:00 PM said: I have built my site into frames. I want to transfer a session-variable from my left frame to my right frame... How do I do this best? Thoughts? You do this best by setting some session data on one

[PHP] Sessions and frames

2005-04-14 Thread Gustav Wiberg
Hi there! I have built my site into frames. I want to transfer a session-variable from my left frame to my right frame... How do I do this best? Thoughts? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions and frames

2005-04-14 Thread Chris W. Parker
Gustav Wiberg mailto:[EMAIL PROTECTED] on Thursday, April 14, 2005 4:00 PM said: I have built my site into frames. I want to transfer a session-variable from my left frame to my right frame... How do I do this best? Thoughts? You do this best by setting some session data on one page

Re: [PHP] Sessions in Frames...confused

2004-12-06 Thread Ryan A
Hey, Do I have to start a session in index.php which is calling the sideFrame and mainFrame or just in mainFrame or just in sideFrame or in all?? AGH! going nuts! /* As far as I know there is no harm in calling session_start() in all your Iframes and Frames. According to theory a new session

Re: [PHP] Sessions in Frames...confused

2004-12-06 Thread Brent Baisley
PHP, and it's sessions, knows absolutely nothing about frames. A frame is just another page, the browser just happens to display it inside of another page. From a session standpoint, you should treat each frame as an independent page. On Dec 5, 2004, at 9:12 PM, Ryan A wrote: Hi, Reading the

Re: [PHP] Sessions in Frames...confused

2004-12-06 Thread Richard Lynch
Ryan A wrote: Hey, Do I have to start a session in index.php which is calling the sideFrame and mainFrame or just in mainFrame or just in sideFrame or in all?? AGH! going nuts! /* As far as I know there is no harm in calling session_start() in all your Iframes and Frames. According to

[PHP] Sessions in Frames...confused

2004-12-05 Thread Ryan A
Hi, Reading the different articles on phpbuilder/devshed/phpfreaks etc has left me a bit confused.. will start from the beginning so you guys(and girls) can give me some advise and show me the right path again ;-) I have a normal user/pass login screen, after which I start a session for the

Re: [PHP] Sessions in Frames...confused

2004-12-05 Thread Raditha Dissanayake
Ryan A wrote: Hi, Reading the different articles on phpbuilder/devshed/phpfreaks etc has left me a bit confused.. will start from the beginning so you guys(and girls) can give me some advise and show me the right path again ;-) I have a normal user/pass login screen, after which I start a session

[PHP] Sessions and frames

2003-08-27 Thread Jean-Christian IMbeault
I'm having problems getting a session to start when my script is loaded in a frame. I provide some content that another web site loads up in a frame. I have set session.autostart to true in my php.ini file so that sessions are always started automatically and use cookies. The problem is that

[PHP] Sessions in frames

2003-08-19 Thread Aris Santillan
hi how can i use session variables in a page with multiple framesets? where in all frame will get the session variables being passed thanks

Re: [PHP] Sessions in frames

2003-08-19 Thread Justin French
It's the same as any other web page. When you define a frameset, you do so with URLs, so the session value can be passed to each window of the frameset via the URL. Obviously cookies or PHP enabled with enable-trans-sid will make this job easy/transparent. The real issue you have is that a

[PHP] PHP SESSIONS and FRAMES

2003-08-03 Thread Ralph Guzman
sessions through frames? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and Frames...

2003-01-10 Thread Brent Baisley
I highly doubt it. The server, and PHP, have absolutely no idea about frames and don't care about them, it's just handling page requests. Frames are a display feature in the browser and it's the browser that requests the various pages it needs for display. PHP is just getting a few page

Re: [PHP] Sessions and Frames...

2003-01-10 Thread Marek Kilimajer
Dale Schell wrote: List, I have a website that uses (too) many frames. At its most ugly, it will load 8 frames at once. All of the pages in these frames activate the session, and some of them modify session variables. Can this cause the pages to load slowly? Can a page have the session

Re: [PHP] Sessions and Frames...

2003-01-10 Thread Dale Schell
Thanks, that helped out a lot. One of those RTFM times. Dale On 1/10/03 10:24, Marek Kilimajer [EMAIL PROTECTED] wrote: Dale Schell wrote: List, I have a website that uses (too) many frames. At its most ugly, it will load 8 frames at once. All of the pages in these frames activate the

[PHP] Sessions and Frames...

2003-01-09 Thread Dale Schell
List, I have a website that uses (too) many frames. At its most ugly, it will load 8 frames at once. All of the pages in these frames activate the session, and some of them modify session variables. Can this cause the pages to load slowly? Can a page have the session file write locked and

[PHP] sessions with frames

2001-02-01 Thread Chris Hayes
hi! i would like to read in a txt file in the frame index page and use it through a session in pages. It does not work if index.php starts the session and succesfully registers a var, because a php page in a frame does not recognize the var. Chris