Obviously cookies or PHP enabled with enable-trans-sid will make this job easy/transparent.
The real issue you have is that a frameset is designed so that only one frame loads on a click, while the others stay static. With sessions, this means that active windows will keep 'up-to-date' with session vars, whilst static frames (like a navigation bar) will fall behind.
So, a major issue will be if all frames need to remain up-to-date? If so, you need a way (javascript or re-draw the whole frameset) of refreshing them all (or just the ones you need) at certain intervals, or upon certain actions.
As you're no doubt thinking, this makes life very difficult, and with all the refreshing going on, the whole point of having frames is lost.
Ask yourself if frames are REALLY required to create the right user experience with your site. Look at all the big sites... Do any of them use frames? No way.
IMO, They're more trouble than any possible benefit they provide -- especially when you have issues like sessions, shopping carts and anything else which requires state.
Justin French
On Wednesday, August 20, 2003, at 11:20 AM, Aris Santillan wrote:
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php