| 
	
 | 
 Posted by Daz on 05/08/07 12:33 
On May 8, 4:31 am, "rf" <r...@invalid.com> wrote: 
> "Daz" <cutenfu...@gmail.com> wrote in message 
> 
> news:1178550564.886249.154000@e51g2000hsg.googlegroups.com... 
> 
> > Hi everyone, 
> 
> > This may be seen as being off-topic, but I am not sure where I need to 
> > look for the appropriate documentation/tutorial. All I would like to 
> > know, if where (on a Linux system), I need to edit a file which will 
> > stop my login timing out after 3600 seconds. I've tried Googling for 
> > it for some time now (weeks, on and off), and I've tried the 
> > phpmyadmin docs to no avail. 
> 
> It's quite obvious really :-) 
> 
> In the folder where phpMyAdmin lives (on your web server) there is a file 
> called config.inc.php 
> 
> In this file search for the line: 
> $cfg['LoginCookieValidity'] = 3600; 
> 
> Change the value accordingly. 
> 
> -- 
> Richard. 
 
Strangely enough, I've search this file many times in the past, and 
checked through all the options. Here are the contents of the file, 
with the comments stripped out. 
 
//$cfg['Servers'][$i]['host']          = 'localhost'; 
//$cfg['Servers'][$i]['port']          = ''; 
//$cfg['Servers'][$i]['socket']        = ''; 
//$cfg['Servers'][$i]['connect_type']  = 'socket'; 
//$cfg['Servers'][$i]['extension']     = 'mysql'; 
//$cfg['Servers'][$i]['compress']      = FALSE; 
//$cfg['Servers'][$i]['controluser']   = ''; 
//$cfg['Servers'][$i]['controlpass']   = ''; 
//$cfg['Servers'][$i]['user']          = 'root'; 
//$cfg['Servers'][$i]['password']      = ''; 
//$cfg['Servers'][$i]['only_db']       = ''; 
//$cfg['Servers'][$i]['verbose']       = ''; 
//$cfg['Servers'][$i]['pmadb']         = 'phpmyadmin'; 
//$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; 
//$cfg['Servers'][$i]['relation']      = 'pma_relation'; 
//$cfg['Servers'][$i]['table_info']    = 'pma_table_info'; 
//$cfg['Servers'][$i]['table_coords']  = 'pma_table_coords'; 
//$cfg['Servers'][$i]['pdf_pages']     = 'pma_pdf_pages'; 
//$cfg['Servers'][$i]['column_info']   = 'pma_column_info'; 
//$cfg['Servers'][$i]['history']       = 'pma_history'; 
//$cfg['Servers'][$i]['verbose_check'] = TRUE; 
//$cfg['Servers'][$i]['AllowRoot']     = TRUE; 
//$cfg['Servers'][$i]['AllowDeny']['order'] = ''; 
//$cfg['Servers'][$i]['AllowDeny']['rules'] = array(); 
 
All of these lines are commented out as everything seems to work fine, 
apart from the timeout aspect. I was pretty certain that the setting I 
needed should go in there somewhere, I just couldn't find what the key 
name for the array should be. 
 
Many thanks for your input.
 
  
Navigation:
[Reply to this message] 
 |