Session don't store after header("Location: ...")
| From: | Giacomo | Date: | Mon, 27 Mar 2006 23:49:25 +0000 |
| Subject: | Session don't store after header("Location: ...") | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41612@lists.php.net to get a copy of this message | ||
Hi everybody, I have a problem with mysql session handler and redirect.
My situation:
- mysql session handler
- one page is "posted" to another page, that saves a session variable
and redirect to the first page again.
If I do the redirect the variable is not properly setted, otherwise it's
all ok.
My PHP version is 4.3.10-16
They said me I have to use cookies, but I use this.
I use this code before starting session:
@ini_set('session.use_cookies', true);
@ini_set('session.use_only_cookies', false);
@ini_set('url_rewriter.tags', '');
@ini_set('arg_separator.output', '&');
Can you help me?
bye and thanks in advance
--
Giacomo