Re: PHP4 and sessions
| From: | Michael Stearne | Date: | Thu, 15 Jul 1999 18:03:36 +0000 |
| Subject: | Re: PHP4 and sessions | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8555@lists.php.net to get a copy of this message | ||
Will ASP style tags be mandatory? Or will <?SID?> work?
Thanks,
Michael
Sascha Schumann wrote:
>
> 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
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net