Date: 10/20/00
- Next message: Michael Anthon: "Re: [phplib] mssql_affected_rows does not exist in php"
- Previous message: Kristian Koehntopp: "Re: [phplib] Unusual question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
In a page, which I would like to start the usual way:
<?php
include("/home/httpd/phplib-7.2b/php/prepend.php3");
include"/home/httpd/html/validation/cs_local.inc";
page_open(array("sess" => "sc_Session"));
?>
<html>
<body bgcolor="#ffffff">
based on conditions, I am sending users to other pages
with simple redirection: something like this:
if($valid == 'true')
{
header("Location:
http://your-domain.com/$redir";);
}
I also would like to keep adding session cookies to
these redirected pages.
The browser gives a warning that I will be redirected,
but in fact, I am getting back to the original page.
The redirection works fine if I remove this part from
the top of the page, wich initiates the redirection:
<?php
include("/home/httpd/phplib-7.2b/php/prepend.php3");
include"/home/httpd/html/validation/cs_local.inc";
page_open(array("sess" => "sc_Session"));
?>
But of course, there is no session cokie this way.
Is there any way to make sessions and redirection work
together?
Thank you.
Art
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Michael Anthon: "Re: [phplib] mssql_affected_rows does not exist in php"
- Previous message: Kristian Koehntopp: "Re: [phplib] Unusual question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

