AnrDaemon <anrdaemon@freemail.ruwrote in
news:373384186.20080702003356@freemail.ru:
Quote:
Greetings, Dave.
In reply to Your message dated Tuesday, July 1, 2008, 23:53:10,
>
Quote:
>Hopefully this is an easy question for those with more experience.
>
Quote:
>I have two separate programs that I want to use together on a website
>
What you calling "programs" at first?
>
Quote:
>Program A starts first and calls session_start().
>
Quote:
>Program B is started by the user clicking on a link and it also calls
>session_start().
>
Quote:
>The session started by program B blows away the session started by
>program A and program A will not work any longer.
>
Can you please illustrate it in more presentable way?
I can't understand, how it is possible.
>
Quote:
>How can I have two independent sessions that don't interfere with
>each other?
>
They are independent for sure.
Even more, new session will be started every time until you start to
store something in it.
>
Quote:
>Any advice or code snippets would be appreciated.
>
Kidding? You haven't explained anything, you haven't provided any
example illustrating your problem...
What do you expect from us? We not gonna do your work for you.
>
>
I don't want anyone to do my work for me, that's not it at all. Sometimes
a picture is worth a thousand works and a code fragment might make a
concept clearer than a narrative.
There are two working html files using PHP that I am trying to bundle
togther on one webpage using frames. The outer frame is the main part of
the page but it requires you to login and it creates a session. The
inner frame is a web-based email program that also requires you to login
and authenticate and it starts a session. This session seems to
overwrite the original one and the main program no longer works.
The question is: is there a way to establish two independent sessions
from one html/php script?
Thanks,
Dave