Wuu Posted September 30, 2008 Report Share Posted September 30, 2008 L"oti intresanti mana lapa index.php pasa sakuma ir session_start(); pectam tiek ieladeti dazi divi caur ajax! Neviens $_SESSION nav pieejams ,bet ari jaunu session_start nelau palaist! Met erroru ka "cannot send session cache limiter headers alredy sent" erroru met uz include(). Bet ka tad man sak sessiju scripta ,ja scripts tiek iedarbinats caur include :) p.s. Slimnica opera mini! Link to comment Share on other sites More sharing options...
bubu Posted September 30, 2008 Report Share Posted September 30, 2008 L"oti intresanti mana lapa index.php pasa sakuma ir session_start(); pectam tiek ieladeti dazi divi caur ajax! Tu kautko pamatīgi putro. No tavas index.php lapas php pusē ar ajax nevar ielādēt itin neko. Tās ir divas dažādas lietas. php izpildās servera pusē, taču ajax informāciju ielādē klienta pusē. Met erroru ka "cannot send session cache limiter headers alredy sent" Tipiska iesācēju kļūda. Ko darīt ir jālasa te: http://php.lv/f/index.php?showtopic=7294 Topiks speciāli pielikts kā pinned. Link to comment Share on other sites More sharing options...
Wuu Posted September 30, 2008 Author Report Share Posted September 30, 2008 Ar sessijam sen viss zinams ka tas strada, problema ir tur ka sesijas dati nav scripta pieejami un ari jaunu sesiju sak nelauj! Kaut ari session_start ir pats pirmais scripta :) risinajumi? Link to comment Share on other sites More sharing options...
bubu Posted September 30, 2008 Report Share Posted September 30, 2008 Ja sesija ir jau sākta, tad kāpec tā jāsāk vēlreiz? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted September 30, 2008 Report Share Posted September 30, 2008 .... tur ka sesijas dati nav scripta pieejami un ari jaunu sesiju sak nelauj! 1. Iesledz brauzerii kukijus ... Visticamak ka vinji tev ir izslegti ... 2. parliecinies ka PHP.ini ir noraadiita pareizaa TEMP direktorija... Link to comment Share on other sites More sharing options...
Wuu Posted September 30, 2008 Author Report Share Posted September 30, 2008 Hmm... Tiku gala savadak include vieta liku ajax ieladet scriptu un viss strada... Link to comment Share on other sites More sharing options...
Recommended Posts