RE: session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is application flow
Index.php = login page, I need to start session here. From here
(successful login) I'm going to admin.php which is 
Frameset page with source pages.

DS

-----Original Message-----
From: chris smith [mailto:dmagick@xxxxxxxxx] 
Sent: Wednesday, April 26, 2006 4:02 PM
To: Sichta, Daniel
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  session

On 4/26/06, Sichta, Daniel <Daniel.Sichta@xxxxxxxxxxx> wrote:
>
> -----Original Message-----
> From: chris smith [mailto:dmagick@xxxxxxxxx]
> Sent: Wednesday, April 26, 2006 2:18 PM
> To: Sichta, Daniel
> Cc: php-general@xxxxxxxxxxxxx
> Subject: Re:  session
>
> On 4/26/06, Sichta, Daniel <Daniel.Sichta@xxxxxxxxxxx> wrote:
> > Hi there !!
> >
> > I have web app which using frames. After session timeout my session
is
> > killed.
> > The problem is that session is killed even when I doing requests to
> the
> > server.
> > I know why (session is "chain" to the frameset page) but what's the
> > solution for this?
>
> Do you have session_start at the top of every page?
> A:Yes I do !
>
> Does it happen on certain pages?
> A:On every page !!
>
> Does it happen when you perform a particular action?
> A:No !! On any action
>
> We need a lot more info about what's going on.
> A: I have declared framesets in index.php and after that I'm sending
> request from frameset source pages.
> This is (IMHO)

Where's the rest of the sentence?

Always CC the list. You will get more people looking at your
questions/answers and you will most likely get a quicker response.

Can you explicitly pass the sessionid across:

  <FRAMESET rows="100, 200">
      <FRAME src="blah1.php?session_id=<?php echo SID; ?>">
      <FRAME src="blah2.php?session_id=<?php echo SID; ?>">
  </FRAMESET>

?

Sounds like you're missing something really basic if you're having
issues with every page. Post some code in pastebin.com and send us the
url so we can see what you're doing..

--
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux