James and simon

Thanks for all your help on this subject I will send future queries to the
'web' list instead

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."


Simon Oliver <[EMAIL PROTECTED]>@listserv.ActiveState.com on
15/04/2002 11:55:06

Please respond to Simon Oliver <[EMAIL PROTECTED]>

Sent by:    [EMAIL PROTECTED]


To:    Michael J Asbridge/UK/IBM@IBMGB
cc:    [EMAIL PROTECTED]
Subject:    Re: session management in IIS



Michael J Asbridge wrote:
>
> I understand that I can use asp/perlscript on the client side to...
You misunderstand.  The ASP session object maintains the session on the
server side.  It simply sends a session identifier to the client so that
the client can identify itself to the server during further requests
within the duration fo the session.

>  e.g. I want a login page to contact a cgi perl script to handle the
login,
> once this login is successful I want to set a session variable for logged
> in to true so I need to set this item in the session object in the cgi
> script. Or perhaps this is not the way to go about things!
To use ASP sessions you need to use ASP scripts, not CGI scripts.

CGI scripts are easily converted to ASP - read the docs at Microsoft or if
you are Perl savvy see the Apache/ASP home page:

http://www.apache-asp.org/

But if you must use CGI then you will need to manage the session yourself,
including the creation, storage and verification of session identifiers
and session data.

There are modules on CPAN that will help you do this, but why not just
make use of the built-in functionality of ASP?

IMHO, the only reason to use IIS is to make use of Active Server Pages.
If you don't intend to use them then run Apache/modperl instead.

Ps. This thread is OT and should move to Perl-Win32-Web.

--
  Simon Oliver
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to