/ Published in: PHP
                    
                                        Default session time in PHP is 1440 seconds (24 minutes) and the Default session storage path is temporary folder/tmp on server.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 You can change default session time by using below code <?php // server should keep session data for AT LEAST 1 hour // each client should remember their session id for EXACTLY 1 hour ?>
Comments
                    Subscribe to comments
                
                