Re: Sessions Variables and refresh pages

From: Date: Wed, 03 Oct 2001 06:38:08 +0000
Subject: Re: Sessions Variables and refresh pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69714@lists.php.net to get a copy of this message
is your web server a Microsoft one (IIS, PWS, ...) ? I'm not sure, but I think there is a known problem with them if you set a session variable and do a redirect in the same page. Can anyone confirm this ? Philippe "Karina Gómez Salgado" <kgs@acabtu.com.mx> a écrit dans le message news: 3BB9D773.F0EE7C7@acabtu.com.mx... > Hello, this is the fourth time i wrote expecting some answer from > somebody with more experience than me. > > I have a protected page , i ask for user and pass and save these > variables as session variables, with session_register. > > When the user submit this page.. this variables are registered, in the > next page, i do some queries using a substr of REQUEST_URI and > displaying 2 selects results and 1 update. > > When i remove the access-control page all works fine, but when i set the > session vars, the first time i see the results, i need to refresh/reload > the web page to show the correct results of the queries, otherwise the > page source shows "data missing... post operation... refresh..." > > Please, how can i avoid the manual refresh ? > > Karina Gomez >

« previous php.general (#69714) next »