Re: frames, session variables, and refresh




lost hope wrote:
> hey all,
> my index.html file has 2 frames. one of the frames (left.php) sets a
> php session variable (using a form). this works as expected. however,
> when the user hits refresh on index.html, that session variable is
> lost, even though the session id itself remains the exact same. is
> this the expected behavior? if possible, how can i ensure the session
> variable persists across the page refresh? thanks!
> -henry

Hi,

It may be that your PHP session id needs to be passed from the left
hand frame to the main frame and maybe the frameset itself.

I had a similar thing happen on my college project a year or so ago but
my memory is a bit hazy so please forgive me if I'm wrong on this.

Kind regards,

Jimmy.

.



Relevant Pages

  • Re: Session variables and frames
    ... the server side, the objects from the client side (frames, documents, ... regarding your doubs about global/session variables: ... A session variable will exist as long as the session exist, ... frames, although the question isn't necessarily about the workings of the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Session variables and frames
    ... the server side, the objects from the client side (frames, documents, ... regarding your doubs about global/session variables: ... A session variable will exist as long as the session exist, ... frames, although the question isn't necessarily about the workings of the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: (Sloppy correction) Re: session management with database: optimal parameters in php.ini
    ... make it so simple that there are obviously no deficiencies, ... but I never used their db session management myself. ... But you can simply check it yourself with the 20 frames. ... I avoid MySQL since I consider it an inferior db. ...
    (alt.php)
  • Re: (Sloppy correction) Re: session management with database: optimal parameters in php.ini
    ... On 10 mar, 13:21, Erwin Moller ... make it so simple that there are obviously no deficiencies, ... but I never used their db session management myself. ... But you can simply check it yourself with the 20 frames. ...
    (alt.php)
  • Re: (Sloppy correction) Re: session management with database: optimal parameters in php.ini
    ... make it so simple that there are obviously no deficiencies, ... but I never used their db session management myself. ... But you can simply check it yourself with the 20 frames. ... I avoid MySQL since I consider it an inferior db. ...
    (alt.php)