|
|
 |
Re: FN-FORUM PHP session problems
date posted 26th January 2003 01:52
This is a multi-part message in MIME format.
------=_NextPart_000_001C_01C2C4DE.27B25E60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
If you have the websites hosted on your local server you can setup =
virtual hosting, negating the need for framed redirections. Framed =
directions are bad because they also make it harder to get your sites in =
search engines properly.
Just setup the dns A records on 123-reg to point all the domains at your =
ip, then setup the virtual hosts on your httpd. Obviously your httpd =
will need to support virtual hosts. Apache does this, having never used =
IIS i wouldn't know if it does too.
Jamie
----- Original Message -----=20
From: Phil Bayfield=20
To: [EMAIL REMOVED]
Sent: Saturday, January 25, 2003 11:25 PM
Subject: Re: FN-FORUM PHP session problems
With a bit of fiddling about I have managed to pass the session id =
between the effected pages with by adding PHPSESSID=3Dsessionid() to =
links and Header"Location: xxx" in all the effected documents. This now =
seems to be all working fine :)
Phil.
----- Original Message -----=20
From: Joe Pritchard=20
To: [EMAIL REMOVED]
Sent: Saturday, January 25, 2003 11:12 PM
Subject: Re: FN-FORUM PHP session problems
I recently had this problem with Session variable and the only way I =
could get it to work was to register teh Session variables before the =
frames were set up. On the site in question I made the Session_Start =
and Session_Register commands the first items in the index file, then =
set teh frames up.
Joe
----- Original Message -----=20
From: Phil Bayfield=20
To: [EMAIL REMOVED]
Sent: Saturday, January 25, 2003 8:08 PM
Subject: FN-FORUM PHP session problems
I am using framed redirects (which i know isnt the best way but =
thats all 123-reg seem to offer which will keep the address in the =
browser) for a number of small websites hosted on our local server. The =
problem I'm having is with a particular site which has a login page and =
then uses session variables to store the username. Once the =
username/password has been verifyed the username is stored and then =
redirects do the home page with a number of different options. This =
works fine over the LAN and also if I change the redirect so that no =
frames are involved. Can anyone tell me how I can get this to work with =
the frame still in place so I keep the address in the title bar?
Thanks in advance,
Phil Bayfield
------=_NextPart_000_001C_01C2C4DE.27B25E60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
If you have the websites hosted on your =
local=20
server you can setup virtual hosting, negating the need for framed =
redirections.=20
Framed directions are bad because they also make it harder to get your =
sites in=20
search engines properly.
Just setup the dns A records on =
123-reg to=20
point all the domains at your ip, then setup the virtual hosts on your =
httpd.=20
Obviously your httpd will need to support virtual hosts. Apache does =
this,=20
having never used IIS i wouldn't know if it does too.
Jamie
----- Original Message -----
From:=20
|
 |
|