Question re Session URL re-writing

From: Dave Cooke (dcooke_at_ee.umanitoba.ca)
Date: 09/30/04


Date: Thu, 30 Sep 2004 08:39:12 -0500

Hi,

I have developed a website that uses Sessions to manage user
state. It has come to my attention that the users that will be using
this site do not want to enable cookies on their machines. The IT
department is refusing to do it and the individual users do not know
how. We are looking at either emailing howto's out to all the users
along with the already posted instructions that are on the website.
However I was thinking about using URL-rewriting to pass the session_id
instead of relying on cookies. So my question is....

On my site, which is a survey, I don't have links (i.e. hrefs), I
simply call functions when a user answers a question or goes back to
a previous question. For example;

Lets say you answer question 1 the program calls processQ.php,
processQ then works with the answer and, when finished, calls qDisplay()
which is part of a class called Survey.php to display the next question.
There are no links with which to send the session_id on. Is there anyway
to just pass the session_ID as a parameter to the function qDisplay(), for
example qDisplay($SID) or whatever or is using cookies the only way that
I can propagate user sessions?

Sorry for the looooong post. Thanks in advance.

Dave



Relevant Pages

  • RE: [PHP] turning use session cookies off still uses cookies?
    ... you can use sessions without cookies by asking PHP to ad the sessionid into every link on your website. ... I don't remember how to do this, but there should be a php_ini directive, and more info on the php.net/manual website. ... [PHP] turning use session cookies off still uses cookies? ...
    (php.general)
  • Re: Inet & Sessions
    ... > content off a webpage. ... I am able to login into the website no problem ... Sessions are simply cookies with long, ...
    (microsoft.public.vb.controls)
  • Re: Beware of IRSs cookie
    ... Below is IRS's story on the cookies: ... IRS Privacy Policy ... You have entered the Internal Revenue Service's website, ... We will not collect personal information about you just because you visit ...
    (misc.taxes)
  • Privacy slip on official US sites
    ... The White House and National Security Agency have been caught tracking visitors ... Although widely used on commercial websites, US federal guidelines prohibit ... Cyber rights activists said cookies could be used to track surfing habits. ... "persistent cookies" to log who visits its website. ...
    (alt.privacy)
  • Privacy slip on official US sites
    ... Although widely used on commercial websites, US federal guidelines prohibit ... Cyber rights activists said cookies could be used to track surfing habits. ... "persistent cookies" to log who visits its website. ... At the same time the White House website was found to be using a combination ...
    (alt.politics.bush)