Sandis Posted November 25, 2004 Report Share Posted November 25, 2004 Mekleejot datus lapaa, izsviezh laukaa atrastos datus(kaa jau parasti). Uzklikshkjinot uz atrasto ierakstu, tas atrveras, tachu atpakalj nokljuut no taa uz atrastajiem datiem nav iespeejams! Sesijas ir! Me dont know what to do! Link to comment Share on other sites More sharing options...
bubu Posted November 25, 2004 Report Share Posted November 25, 2004 Kāpēc nav iespējams? Link to comment Share on other sites More sharing options...
рпр Posted November 25, 2004 Report Share Posted November 25, 2004 1.) tu jau vari sesijaa saglabaat peedeejo mekleeto fraazi un aizejot uz mekleeshanas sadalju atkal mekleet peec taas fraazes (ja taada ir). 2.) ja mekleeshana tiek izpildiita izmantojot get, tad tev visur jaavaaa liidz tas mekleeshanas parametrs pie visiem linkiem. Link to comment Share on other sites More sharing options...
Venom Posted November 25, 2004 Report Share Posted November 25, 2004 vieglākais - ver vaļā jaunā logā, gi Link to comment Share on other sites More sharing options...
Sandis Posted November 25, 2004 Author Report Share Posted November 25, 2004 Lieta taada, ka ejot atpakalj no atrasto datu apluukoshanas, man izsviezh logu - "Page cannot be displayed". Datus nododu ar $_REQUEST[]. Varbuut kaads vareetu iedot tehnisku aprakstinju kaa to lietu likvideet!? Link to comment Share on other sites More sharing options...
Venom Posted November 25, 2004 Report Share Posted November 25, 2004 (edited) samazināt līdz noņemt kešu ar header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: no-cache'); (sērčlapā, pirms tiek izvadīt kaut kas cits) NB: $_REQUEST ir diezgan paslikta padarīšana, dažreiz vajadzīgs, bet, domājams ne šaja gadījumā. Man nācies izmantot tikai tad, kad jāatjauno sesija, kas nobeigta aizverot browseri. Edited November 25, 2004 by Venom Link to comment Share on other sites More sharing options...
Sandis Posted November 25, 2004 Author Report Share Posted November 25, 2004 Nee, man jau liekas ka probleema nav tik dzilja! Man ir sesija (valodas izveelei un searcham): $_SESSION['lan'] , !$_SESSION['search'] Bet varbuut jaabuut kaadam nosaciijumam (if), vai ....nezinu! Link to comment Share on other sites More sharing options...
Venom Posted November 25, 2004 Report Share Posted November 25, 2004 jā, jā IR tik dziļa ;) Kas rāda lapu Page Expired? Pārlūks. Kāpēc? Ka jau aizmiris datus, ko ir saņēmis sērčam (droši vien no POST) vēl var palīdzēt session_cache_limiter('private'); pirms session_start(); Link to comment Share on other sites More sharing options...
Sandis Posted November 25, 2004 Author Report Share Posted November 25, 2004 Mekleeshanas "atribuuti"-poga un lauks: function get_search(){ ?> <script language="JavaScript"> <!-- function submitForm() { document.lin.submit(); } //--> </script> <form name="lin" method="post" action="index.php"> <input type="text" name="title" size=17> <input id="i1" type="button" value="Meklēt" onmouseover="this.id='i2'" onmouseout="this.id='i1'" onClick="submitForm()"> </form> <? } Tad sesija man jaliek laukam "title"!? - $SESSION["title"] un lieta dariita!? Link to comment Share on other sites More sharing options...
Recommended Posts