Jump to content

Recommended Posts

Hey,

ask your guy a session question:
I have a website, after user login, it show left and right frame.
left frame is menu and right frame is the content of the link.

now the server has session expire in 24 minutes.
if the user has not action in 24 minutes, the session expired, after it when the user click the link in the left frame, the right frame page redirect to login page again since no session.

The user login again and is showed welcome page. but the left frame still remain same.
now the user click the link on left frame again and the link content is showed.

My queston is: the left frame is now using new session?
every page has session_start.

or shoud do it: when session expire, not only the right page shows login page but also left frame shows front left page? I even know how to do it yet.

just askif it is ok for user use pages like it  first since the remote server constantly unable to connect to mysql server by port number.  I am wondering if I cause it.
Link to comment
https://forums.phpfreaks.com/topic/17946-session-question/
Share on other sites

Keep in mind that PHP is completely unaware of different frames within the same page.  All content within a page will use the same session, however whether different parts get updated at different times is up to you and how the user has requested the update.
Link to comment
https://forums.phpfreaks.com/topic/17946-session-question/#findComment-76771
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.