org.102 Posted November 6, 2004 Report Share Posted November 6, 2004 hmz.. <_< es gribēju pajautāt vai sesijas glabajas tapat kā cookiji. tjip ja atslegti cokieji tad sesijas var darboetie,s, nu vo>< itkaa sanaca kkas lidziigs jautaajienam.. :D :ph34r: Link to comment Share on other sites More sharing options...
rumpels Posted November 6, 2004 Report Share Posted November 6, 2004 (edited) <? $sesija != $cookie; ?> Edited November 6, 2004 by rumpels Link to comment Share on other sites More sharing options...
org.102 Posted November 6, 2004 Author Report Share Posted November 6, 2004 :P tik daudz es mosh saprotu.. lab es palaboshu jaut> .vai sesijas ~== coukies.> emm>> :blink: vai sesijas glabajas kā cokiji> kad tiek atslegti cokiji tad sesijas stradaa ? :ph34r: Link to comment Share on other sites More sharing options...
bubu Posted November 6, 2004 Report Share Posted November 6, 2004 Cik man zināms sesijas kā vienu datu saglabāšanas veidu var izmantot kukijus, bet var arī citādāk. Caur GET pieprasījumiem un temp direktoriju. Link to comment Share on other sites More sharing options...
Aleksejs Posted November 6, 2004 Report Share Posted November 6, 2004 Citāts no PHP dokumentācijas: Passing the Session ID There are two methods to propagate a session id: * Cookies * URL parameter The session module supports both methods. Cookies are optimal, but because they are not always available, we also provide an alternative way. The second method embeds the session id directly into URLs. PHP is capable of transforming links transparently. Unless you are using PHP 4.2 or later, you need to enable it manually when building PHP. Under Unix, pass --enable-trans-sid to configure. If this build option and the run-time option session.use_trans_sid are enabled, relative URIs will be changed to contain the session id automatically. Note: The arg_separator.output php.ini directive allows to customize the argument seperator. For full XHTML conformance, specify & there. Alternatively, you can use the constant SID which is always defined. If the client did not send an appropriate session cookie, it has the form session_name=session_id. Otherwise, it expands to an empty string. Thus, you can embed it unconditionally into URLs. http://lv.php.net/manual/en/ref.session.php Link to comment Share on other sites More sharing options...
org.102 Posted November 7, 2004 Author Report Share Posted November 7, 2004 ;) thanix :ph34r: Link to comment Share on other sites More sharing options...
Recommended Posts