Forum Moderators: coopster

Message Too Old, No Replies

PHP Sessions and HTML frames

         

aspr1n

12:23 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Does anyone have any experience of using iframes and calling globals like $_SESSION[] from multiple frames in a frameset? Are there any issues with doing this - specifically will the sessionid always be valid across multiple frames in the same frame set/browser window?

Cheers,

asp

Xuefer

2:10 am on Apr 30, 2003 (gmt 0)

10+ Year Member



avail for the domain, it has no relation to the frames
but the frames may not load in the order as u want(im not sure)

daisho

2:39 pm on Apr 30, 2003 (gmt 0)

10+ Year Member



Not sure what you want to do but if in your framebase you start the session then load all the sub frames they should all have the same session ID.

The problem you may run into is syncing. I really don't do frames but I see a problem of one frame erasing session variables that it didn't know about since each frame is an independant call to the server and really don't know about each other.

daisho.