Posted by ImOk on 07/02/06 15:16
Looks reasonable (except for that perl gunk :)
Care to translate.
Thanks
Rafe Culpin wrote:
> In article <1151776122.732440.105560@m79g2000cwm.googlegroups.com>,
> j_macaroni@yahoo.com (ImOk) wrote:
>
> > I am wondering if there is anyway to get the session ID of an ASP page
> > (or any other scripting language) from PHP.
> >
> > I assume that session id's are kept as cookies on the user's desktop.
> > If that's the case there should be some way of retrieving them.
> >
> > Has anyone ever accomplished such a linkage?
>
> The following worked in perl for ASP 1 - they might have changed the
> cookie format since then.
>
> foreach $_ (split /; /, $ENV{'HTTP_COOKIE'}) {
> $session_id = $1 if /ASPSESSIONID.{8}=(.{24})/;
> }
>
> --
> To reply email rafe, at the address cix co uk
[Back to original message]
|