Re: header lost session variables.

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

 



On Mon, August 14, 2006 6:56 pm, J R wrote:
> On 8/15/06, João Cândido de Souza Neto <joao@xxxxxxxxxxxxxxxxxxxxx>
> wrote:
>>
>> I´m in the follow location:
>>
>> https://www2......./?modulo=seguro&acao=identifica
>>
>> And in my script i use header("Location:
>> ./?modulo=seguro&acao=novo_cadastro")
>
>
> i normally do
>
> header("Location: ?modulo=seguro&acao=novo_cadastro");
>
> thats with out the "./" but i'm not sure if its has any effect. try it
> out
> anyway. i could not think of any reason why your session variables
> will disappear,
> unless you don't do session start() :) hehehe...(in which of course
> you do)

HTTP RFC Specs require that Location be a complete URL starting with
"http://"; so you're pretty much both making a fundamental error
here...

:-) :-) :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux