Question re Session URL re-writing
From: Dave Cooke (dcooke_at_ee.umanitoba.ca)
Date: 09/30/04
- Next message: kf4pfw_at_gmail.com: "Searching multiple db's from within a form"
- Previous message: aa: "Re: need to mass convert pages to UTF-8 encoding"
- Next in thread: Kevin Thorpe: "Re: Question re Session URL re-writing"
- Reply: Kevin Thorpe: "Re: Question re Session URL re-writing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: kf4pfw_at_gmail.com: "Searching multiple db's from within a form"
- Previous message: aa: "Re: need to mass convert pages to UTF-8 encoding"
- Next in thread: Kevin Thorpe: "Re: Question re Session URL re-writing"
- Reply: Kevin Thorpe: "Re: Question re Session URL re-writing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|