PDA

View Full Version : session cookies


pwr_sneak
Mon 19th Feb '01, 9:37am
hi all,

i've noticed that the session-id ist part of every url by default if the user don't switch it of in his profile.
why don't you use session-cookies for this id (lifetime 0) and check wether the user accepts this type of cookies on the second visited page. just like the PHP4 sessions work. they append the session-id to every url and form on the first visited page and try to write it to an cookie. on the second page it first checks if the cookie variable is set (HTTP_COOKIE_VARS['phpsessid']), if so there's no need to attach it to forms and links.
it would also be nice if the empty 's' variable would not be shown in the URL.

sneak