FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » sessions causing refreshing not to work
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: sessions causing refreshing not to work [message #178322 is a reply to message #178317] Mon, 04 June 2012 03:20 Go to previous messageGo to previous message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma:
Senior Member
On Sun, 03 Jun 2012 13:07:20 +0200, Fred wrote:
> Le 03/06/2012 05:57, Peter H. Coffin a ?crit :
>
>>
>> Set session.use_trans_sid, unset session.use_cookie, don't forget to
>> grab the session ID out of the $_GET array for every page load. Yes,
>> your URLs will be ugly, and it'll be not impossible for someone to end
>> up screwing things somehow with URL bookmarking or sharing.
>>
>
> session.use_trans_sid and session.use_cookie are 2 ways to manage
> session but the result will be the same.

Allowing the use of something is not the same as forcing the use of
something. Either option can be allowed or disallowed independantly.
It's kind of important because the "default", the type that all the doco
talk about, is session via cookie. Session via $_GET is a bit more manual
(you have to fetch the SID explicitly), and the way that the
configuration stuff is set up allows for other means of store/fetching
session IDs, which may someday come along.

--
22. No matter how tempted I am with the prospect of unlimited power, I
will not consume any energy field bigger than my head.
--Peter Anspach's list of things to do as an Evil Overlord
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: passing documents through pages
Next Topic: PHP Sessions and XML
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 23:49:22 GMT 2024

Total time taken to generate the page: 0.04194 seconds