Re: [PHP] Sessions and Query String Variable Handling

2002-04-28 Thread Dennis Moore
'Dennis Moore'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, April 27, 2002 11:33 PM Subject: RE: [PHP] Sessions and Query String Variable Handling > Not for server side. You can use a META REFRESH on the client side, but > I personally find that ugly. >

RE: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread John Holmes
esult, and just echo that variable where ever I need to. ---John Holmes... > -Original Message- > From: Dennis Moore [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 27, 2002 5:24 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] Sessions and Query Stri

Re: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread Dennis Moore
AIL PROTECTED]> To: "'Dennis Moore'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, April 27, 2002 8:49 PM Subject: RE: [PHP] Sessions and Query String Variable Handling > $page = $_SERVER["SERVER_NAME"] . $_SERVER["SCRIPT_NAME"] . &

Re: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread eric.coleman
You can also use $page = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "'Dennis Moore'" <[EMAIL PROTECTED]>; <[EMAIL PROTECT

RE: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread John Holmes
You'll have to add an http:// to that string, too. ---John Holmes... > -Original Message- > From: John Holmes [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 27, 2002 5:50 PM > To: 'Dennis Moore'; [EMAIL PROTECTED] > Subject: RE: [PHP] Sessions and

RE: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread John Holmes
$page = $_SERVER["SERVER_NAME"] . $_SERVER["SCRIPT_NAME"] . $_SERVER["QUERY_STRING"]; That will recreate the URL that the user clicked on. Save that to a variable before you check for a session. Once you start a session or verify that one exists, use header() to send them back to that page. -