Session don't store after header("Location: ...")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux