Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post About session? has ow?

    Good evening friends, okay?
    as the session has not expired? or it expires return to the login screen of the system, showing the following message, please log in again ...
    have used several functions .. one of them is here
    ini_set ( 'session.cache_expire', 480);
    session_start ();

    Thank you ,
    Juliao

  • #2
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,289
    Thanks
    12
    Thanked 345 Times in 341 Posts
    sorry, but I can’t figure out your problem from this.

  • #3
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Dormilich View Post
    sorry, but I can’t figure out your problem from this.

    ok, but is to return to the index.php when the session expires?

    tks,

  • #4
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,289
    Thanks
    12
    Thanked 345 Times in 341 Posts
    PHP Code:
    if (!isset($_SESSION["login_status"]))
    {
        
    header("Location: http://www.example.org/");
        exit;

    something like that?

  • #5
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Dormilich View Post
    PHP Code:
    if (!isset($_SESSION["login_status"]))
    {
        
    header("Location: http://www.example.org/");
        exit;

    something like that?
    ok, I will test and then you talk ...
    in my case, I put the same parameter login_status?
    tks

  • #6
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,289
    Thanks
    12
    Thanked 345 Times in 341 Posts
    Quote Originally Posted by juliaobarbin View Post
    in my case, I put the same parameter login_status?
    I don’t know your session variables …


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •