Re: Tale of woe
- From: "The Eclectic Electric" <nospam@xxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 14:28:11 GMT
"peter" <submit@xxxxxxxxxxxxxxxx> wrote in message
news:ehva3m$hj4$1@xxxxxxxxxxxxxxxxxx
Anyway, yesterday I started to implement sessions on my site. I'd set up
a user on my user database as was very proud when I could log myself in.
Then I set about transferring the data from the user table to session
variables and changing all the places I'd put in temporary hard-coded
values. It was very exciting. Then I tried to login again and that was
fine, but when I hit the main page, it had all gone very badly wrong.
by the sounds of it you did the work on your live site. If that is the
case I would advise in future that you setup a copy of your site and test
and code with that first. when everything is sorted and tested then and
only then transfer the site to the live site and of course test again.
This way down time is at a minimal and there will not be such a rush to
fix any problems.
Wise words. It is a live site insofar as I'm testing and programming in the
live environment (my host has a different PHP/MySQL build to me), but the
site is not live yet (no index page for instance). This is just a training
exercise for me really to get me up to speed for when I start on my more
serious projects, but it is good counsel to remind me not to be so blase
with those.
+e
.
- References:
- Tale of woe
- From: The Eclectic Electric
- Re: Tale of woe
- From: peter
- Tale of woe
- Prev by Date: Re: combination events
- Next by Date: image rsesizer
- Previous by thread: Re: Tale of woe
- Next by thread: Re: Tale of woe
- Index(es):