This is a discussion on PHP session problem within the Coding Help forums, part of the Webmaster Help category; The whole site works off one session variable, when a user logs in that variable is assigned with the users ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| The whole site works off one session variable, when a user logs in that variable is assigned with the users user id, when they logout the session variable is cleared. Its seems that since I moved the site to new hosting that the session variable clears itself within 30 seconds to a minute!? Only seems to clear itself when a user posts something and comes back from a page with a PHP Code: I've tried the site on other hosting and i dont have this problem, seems to be only my current hosting! Any ideas? Last edited by ziycon; 28-11-2007 at 04:53 PM. |
| |||||
| Would the versions of php make any difference?
__________________ Hosting & Domains|Plesk Vps Hosting|Geek / Cool Stuff|Films.ie|Cool Sites|Monetisation Tips|Movie Chat Energise your forum! Click here for info |
| |||||
| I can't see why, i've checked and there is no restriction on the session time limit on either hosting. PHP 5.2.2 is on the hosting im having the problem with. PHP 5.2.1 is on the hosting thats working fine. |
| |||||
| Have you contacted the hosting provider about the issue?
__________________ Hosting & Domains|Plesk Vps Hosting|Geek / Cool Stuff|Films.ie|Cool Sites|Monetisation Tips|Movie Chat Energise your forum! Click here for info |
| |||||
| Yup, they say its nothing on their side that they can see, thats why i resorted to here, my last port of call!! |
| |||||
| can you run phpinfo() on both systems and do a compare and see what the differences are.
__________________ Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it ) Recent Work: Safari Club African Safari Holidays - Malawi Safaris Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools Jumper Stuff: Task Drop's Official Geansai Gorm Website |
| Tags |
| php, problem, session |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP, OOPS! data typing | Mike | Coding Help | 2 | 24-08-2007 02:44 PM |
| PHP mySQL Problem!? | ziycon | Server / Technical Administration Tips and Queries | 1 | 15-07-2007 08:31 PM |
| pho - session_start() problem | wheres me jumpa | Coding Help | 7 | 09-07-2007 07:22 PM |
| php image display problem | david4ie | Coding Help | 2 | 08-05-2007 11:06 PM |
| WTF - Some PHP Obfuscation. | daviddoran | General Chat | 8 | 20-02-2007 05:45 PM |
| ||||||||
| | ![]() | |||||||