Re: [PHP] Quick session question

2010-06-24 Thread Danny
Hi Mari, I used "localhost" as a substitute for the real url. My mistake I should've told you guys. Thanks anyway for your input. Danny >On Jun 24 10, Mari Masuda : > > Maybe you need to change > > $_SESSION['server'] = "http://localhost/~user/new_project"; ; > > to be not localhost. -- PHP

Re: [PHP] Quick session question [SOLVED]

2010-06-24 Thread Danny
Hi Guys, Thanks to all of you who helped me with my problem. I can now continue with my life :) . I'm happy and the customer is happy ... Thank you once again. Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick session question

2010-06-24 Thread Danny
Hi Jim, I followed Gaurav's tips on creating a "folder" to store the session info in and it got solved. I can now catch the session variables but I got A LOT of "include()" file errors which was solved by following your suggestion on expanding my URL's. Thank You Danny >On Jun 24 10, Jim Lucas

Re: [PHP] Quick session question

2010-06-24 Thread Danny
Hi Gaurav, Creating a "local" folder solved the problem. I can now catch the session varaibles. I think that I am too familiar with setting up everything on a local server and forgot that there are "other" things to consider when you work on the internet. Thank You Danny >On Jun 25 10, Gaurav K

Re: [PHP] Quick session question

2010-06-24 Thread Jim Lucas
Danny wrote: > Thanks Ashley and Jim, > >> When you say 'sessions did not work' what do you mean? Sessions aren't being >> created? You can't access session variables? You need to be a bit more >> specific >> about the issue. > > Sorry, here is an explanation: > > The project I uploaded for a c

Re: [PHP] Quick session question

2010-06-24 Thread Gaurav Kumar
Danny, I just read the email trail regarding your problem. The very first thing- 1. Session are stored as a file on the server in a folder. Check that the folder has read/*write* permission. (/tmp/ folder) 2. Check on the server that are the sessions really getting saved on the server? 3. Now in

Re: [PHP] Quick session question

2010-06-24 Thread Mari Masuda
On Jun 24, 2010, at 9:09 AM, Danny wrote: > Thanks Ashley and Jim, > >> When you say 'sessions did not work' what do you mean? Sessions aren't being >> created? You can't access session variables? You need to be a bit more >> specific >> about the issue. > > Sorry, here is an explanation: > >

Re: [PHP] Quick session question

2010-06-24 Thread Danny
Thanks Ashley and Jim, > When you say 'sessions did not work' what do you mean? Sessions aren't being > created? You can't access session variables? You need to be a bit more > specific > about the issue. Sorry, here is an explanation: The project I uploaded for a customer is a "stock ordering"

Re: [PHP] Quick session question

2010-06-24 Thread Jim Lucas
Danny wrote: > Hi guys, > > I always start new projects with the following session code-snippet: > (In other words this is how I initialize my sessions in the index.php file.) > > ### START CODE SNIPPET > >session_start(); >

Re: [PHP] Quick session question

2010-06-24 Thread Ashley Sheridan
On Thu, 2010-06-24 at 16:24 +0200, Danny wrote: > Hi guys, > > I always start new projects with the following session code-snippet: > (In other words this is how I initialize my sessions in the index.php file.) > > ### START CODE SNIPPET > ###

[PHP] Quick session question

2010-06-24 Thread Danny
Hi guys, I always start new projects with the following session code-snippet: (In other words this is how I initialize my sessions in the index.php file.) ### START CODE SNIPPET http://localhost/~user/new_project"; ; $_SESSION['sql_