Managing sessions under Active-Server Pages in IIS, is independent of which scripting language you use, as it is purely a function of the ASP.DLL
Therefore, if you use VBScript/Javascript or Perlscript, yet you could use the rich Session Management functions of ASP under IIS. Here is a sample code to set and get the session values using PerlScript and IIS. <%@language="PerlScript"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Session Variables Test - Perlscript</TITLE> <h3>List of Session Variables and Values - Test Page </h3> </HEAD> <BODY BGCOLOR="#FFFFFF"> <% use Win32::OLE qw(in); $sessVar1 = $Session->Contents->SetProperty('Item', 'Name', 'Rex Arul'); $sessVar2 = $Session->Contents->SetProperty('Item', 'List', '[EMAIL PROTECTED]'); $sessVar3 = $Session->Contents->SetProperty('Item', 'Favorite', 'Perl'); $sessVar4 = $Session->Contents->SetProperty('Item', 'OS', 'Win98/WinNT'); foreach $key (in $Session->Contents){ $Response->Write(qq{ Session Variable Name is <STRONG> }.$key.qq{</STRONG> which has a stored value of => <STRONG><EM>}.$Session->Contents->Item($key)."</EM></STRONG><BR/>"); } %> </BODY> </HTML> > > Hi > > using active perl in IIS what is the best way to manage sessions? I cannot > use Apache::sessions as I am using IIS! > > regards > > Michael Asbridge > ____________________________ > Sun Certified Java 2 Programmer > > Application Developer (Advisory) > (IBM Global Services(E-Business Application Services(Messaging Services))) > > location: IBM UK, North Harbour, F3T > int tel: 258472 > ex tel: + 44 (0)2392 568472 > mobile: 07801 707 202 > > "Sin is the punishment of sin; virtue is virtue's own reward." _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs