•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 426,474 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,263 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 699 | Replies: 3
![]() |
•
•
Join Date: Jul 2007
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Hi
I have a problem with a site I am doing. I am writing an email address as a session variable and on my dev machine (windows XP running EasyPHP) I am having no problems calling up user information based on this. BUT when I put it on the live server (Dont know what OS etc) The information is not being retrieved. I am NOT a PHP guru! WHAT CAN THE ISSUE BE PLEASE!! Any help would be appreciated.
I have a problem with a site I am doing. I am writing an email address as a session variable and on my dev machine (windows XP running EasyPHP) I am having no problems calling up user information based on this. BUT when I put it on the live server (Dont know what OS etc) The information is not being retrieved. I am NOT a PHP guru! WHAT CAN THE ISSUE BE PLEASE!! Any help would be appreciated.
•
•
Join Date: Jun 2007
Location: Washington State
Posts: 53
Reputation:
Rep Power: 2
Solved Threads: 0
My suggestion is to give up on the php session variables.
Just create a sessions table in your database and then store the key to this session in a cookie or in a form variable.
This way when your system grows and you end up in a load balanced web farm, you will still have this centralized session concept.
This will also eliminate any configuration issues around php sessions variables.
Just create a sessions table in your database and then store the key to this session in a cookie or in a form variable.
This way when your system grows and you end up in a load balanced web farm, you will still have this centralized session concept.
This will also eliminate any configuration issues around php sessions variables.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertisment blog browser cell competition daniweb email encryption eu eudora firefox gentoo gmail google imap linux microsoft mobile mozilla news onecare open source opinion outlook penelope phishing phones php professional research scam security spam spammers spamming stocks technology thunderbird virus web webmail
- help setting up web server (Linux Servers and Apache)
- Retrieve email I sent to the wrong person (Web Browsers)
- Sending HTML email via PHP mail function (PHP)
- Automatic email creation in cpanel ----PHP (PHP)
- PHP sessions/$_POST problem. Too Stressed today! (PHP)
- E-mail form data quick and easily with PHP (PHP)
Other Threads in the PHP Forum
- Previous Thread: Creating a multi-dimensional Session variable
- Next Thread: php whitelist form validation??


Linear Mode