SV: [PHP] trans_sid? (was: SV: [PHP] Quickie)

2002-10-01 Thread Daniel Alsén

To reply to myself .)

I disabled trans_sid on the actual site by using:

ini_set('session.use_trans_sid',false);
session_start();

But i still want to know what trans_sid does for me. What am i missing out
on when not using it?

- D, loves google




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: SV: [PHP] trans_sid? (was: SV: [PHP] Quickie)

2002-10-01 Thread Chris Marschall

On Tue, 1 Oct 2002 12:06:04 +0200, Daniel Als‚n wrote:

To reply to myself .)

I disabled trans_sid on the actual site by using:

ini_set('session.use_trans_sid',false);
session_start();

But i still want to know what trans_sid does for me. What am i missing out
on when not using it?

- D, loves google




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Testing - please ignore.

Sorry for any inconcenience.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




SV: [PHP] trans_sid? (was: SV: [PHP] Quickie)

2002-10-01 Thread Daniel Alsén

Justin French propably said:

 You'd loose session for those without cookies.  The work around for
 this would be to hard-code the session ID to all URLs across your
 site for all pages you wish to carry a session through -- a real pain.

Indeed.

 It HAS TO use a session ID from the first page to the second, to be
 sure that the session is being carried... on the second page, it
 assesses if the cookie was set, and if so, doesn't bother rewriting
 any of the URLs, else, it continues.

Aha...i got a bit confused first when i read your answer since i _know_ i
have cookies enabled. But isn´t there any other way to work around this? Can
i check if the cookie is set myself and if it is disable trans_sid with
'ini_set('session.use_trans_sid',false);'?

 Most people beg to HAVE trans_sid enabled on their server, not to
 have it removed.  It ensures the widest array of people can access
 your site without breaking sessions, and without the need for you to
 include (pass around) a session ID throughout your site via URLs.

Thanks.

- D




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: SV: [PHP] trans_sid? (was: SV: [PHP] Quickie)

2002-10-01 Thread Justin French

In order to set and then check a cookie, you need to go through a page... so
you'd have to set something in the URL like ?cookieset=1 anyway, in order to
knwo you had set it, in order to check it.

In other words, you'll need some guff in the URL, in order for it to all
work, so why not let it be the session key, and let trans_sid do the work?

Without trying to sound rude, get over it or deal with it :)


Justin


on 01/10/02 8:53 PM, Daniel Alsén ([EMAIL PROTECTED]) wrote:

 Aha...i got a bit confused first when i read your answer since i _know_ i
 have cookies enabled. But isn´t there any other way to work around this? Can
 i check if the cookie is set myself and if it is disable trans_sid with
 'ini_set('session.use_trans_sid',false);'?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




SV: SV: [PHP] trans_sid? (was: SV: [PHP] Quickie)

2002-10-01 Thread Daniel Alsén

Justin French propably said:

 In order to set and then check a cookie, you need to go through a
 page... so you'd have to set something in the URL like ?cookieset=1
 anyway, in order to knwo you had set it, in order to check it.
 
 In other words, you'll need some guff in the URL, in order for it to
 all work, so why not let it be the session key, and let trans_sid do
 the work? 
 
 Without trying to sound rude, get over it or deal with it :)

Guess i'll have to ;)

- D




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php