good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Perl sharing session state with ASP.NETby digger (Friar) |
on Jan 27, 2008 at 00:04 UTC ( [id://664490]=note: print w/replies, xml ) | Need Help?? |
Session state is a .Net object. The only way I know of to access .Net objects using Perl is using PerlNET from ActiveState. To keep from having to rewrite your GUI code in Perl.NET, you could write an interface class that sits between the .Net code and perl, and exposes methods to get Session variables. Alternatively, if you own the code for the web service, you could just expose the important information via the web service, and use SOAP calls from perl to get what you need. This way you keep the perl and .Net portions completely separate. HTH,
In Section
Seekers of Perl Wisdom
|
|