Re: cookie sharing between asp and php
| From: | Gordon Stewart | Date: | Tue, 09 Apr 2002 13:32:17 +0000 |
| Subject: | Re: cookie sharing between asp and php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92226@lists.php.net to get a copy of this message | ||
Scott St. John <scott@scottah.com> wrote in message
news:Pine.LNX.4.44.0204090847480.23692-100000@kelly.talon.net...
> I have developed a security application for our intranet that handles a
> user login. It writes values to a cookie and uses that to verify them on
> the intranet sites until the sessions expire.
>
> Since we have not totally moved over to PHP I have some ASP applications I
> need to protect as well.
> Q1-I feel dump for asking this, but ASP can't read the PHP cookies,
> correct?
>
> My current solution might be to pass a variable from the php page to the
> asp page and have it write it's own set of cookies.
As far as I know - ALL cookies set by a particular server - can be read &
re-set by any programme / process on the same server / website..
So your ASP script could read your PHP cookies & vice-versa..
I'm just learning PHP, & dont know cookies as yet (I use Perl/CGI for
cookies)
& have no experience at all on ASP...
I'll suggest to try a small PHP & a small ASP page, & try & set/read the
cookies.
G.