You are here: Re: Getting session id of ASP pages from PHP. « PHP Programming Language « IT news, forums, messages
Re: Getting session id of ASP pages from PHP.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация