Re: header lost session variables.

From: Date: Tue, 15 Aug 2006 00:05:21 +0000
Subject: Re: header lost session variables.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-240675@lists.php.net to get a copy of this message
On Mon, August 14, 2006 6:56 pm, J R wrote: > On 8/15/06, João Cândido de Souza Neto <joao@curitibaonline.com.br> > 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

« previous php.general (#240675) next »