Re: PHP4 and sessions
| From: | Sascha Schumann | Date: | Thu, 15 Jul 1999 11:06:31 +0000 |
| Subject: | Re: PHP4 and sessions | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8536@lists.php.net to get a copy of this message | ||
On Thu, Jul 15, 1999 at 01:04:25PM +0200, Sascha Schumann wrote:
> On Thu, Jul 15, 1999 at 11:36:59AM +0100, Adrian Teasdale wrote:
> > I know this is the developers list, but I thought you guys might be able to
> > answer my question....
> >
> > I know that PHP4 will be able to handle sessions, but will it be able to
> > handle sessions without cookies? The reason I ask this is that I come from
> > a Cold Fusion background where there is a method of sessions without cookies
> > (alhtough it involves attaching a CFTOKEN to form and URL variables) which
> > means that all session variables can be maintained..
> >
> > Just curious before I start on a big project and start putting in all the
> > variables in to URLs and Forms.
>
> Simply attach <%SID%> to URLs as you did it in CF. If the session
> module isn't 100% sure that the user has accepted (and send) the
> cookie, SID will be defined to be <session_name>=<session_id>
And just to give some examples:
<A HREF="mypage.php?<%SID%>">Click here</A>
...
<FORM METHOD="POST" ACTION="form.php?<%SID%>">
--
Regards,
Sascha Schumann
Consultant