From: nero o. <ner...@ya...> - 2003-01-14 16:41:25
|
Ok, here is my cookie.inc.php file: [root][/home/httpd/htdocs/timetrack]: cat includes/cookie.inc.php <?php // Modified by Andrew Walker (ajw...@ho...) // $time = mktime()+$g_cookietimeout; // $date = date("l, d-M-y H:i:s", ($time)); date = time()+$g_cookietimeout; if (isset($authentication)) { * SNIP * here is my config file: $version = "0.6.16"; $g_title = "My Time Tracker"; $g_helpdesk_email = "su...@my..."; $g_mailservername = "mail.mydomain.com"; $g_domainmailfrom = ""; $g_language = "english"; $g_refreshtime = "1200"; $g_cookietimeout = "1800"; $g_enable_javascript = 1; $g_dept_or_comp = 0; $g_base_url = "http://www.mydomain.com/timetrack/"; $g_domain = "mydomain.com"; $g_base_path = "/timetrack/"; * SNIP * The files reside in /home/httpd/htdocs/timetrack. /home/httpd/htdocs/* is live. ... it still does the same thing. I can login (user: admin, password:admin) but as soon as I click anything, it brings me back to the first page, and i'm logged out again. Any more ideas on this? Thanks for the help sean. --- "Kevin M. Shortt" <sh...@cg...> wrote: > > > It sounds like a cookie issue. > Check inside includes/cookie.inc.php... > I made a change for myself a while back. I don't recall what it did > for me. > > Here is my cookie.inc.php piece that I changed. > -- > // Modified by Andrew Walker (ajw...@ho...) > // $time = mktime()+$g_cookietimeout; > // $date = date("l, d-M-y H:i:s", ($time)); > //$date = $time; > > $date = time()+$g_cookietimeout; > > > > -k > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |