init in Apache::ASP

2000-09-08 Thread Issam W. Alameh

Hello All,

Can I put my asp code at the end of my html page, but let it execute before
showing the html???


I want to have something like


Hello <%=$name%>
<%
$name="something";
%>


Can this show

Hello something


Regards
Issam




fake browser

2000-08-05 Thread Issam W. Alameh

Hello,
I don't know where to go with this question, may be somebody can help here,

I have written a small program to simulate login to a site, but the site is
trying to find out if the browser accessing it accepts cookies or not, and I
wanted to know how to fake this, i.e. how to tell the program that I am a
browser who is accepting cookies,

I am using LWP::UserAgent to do the simulation, and I already told the site
I am logging to that I am mozilla/4.0,

here is a snippet of the code

require LWP::UserAgent;
$ua = new LWP::UserAgent;
$ua->agent('Mozilla/4.0');
$request = new HTTP::Request GET=>
'http://www.namesforall.com/mail/login.cgi?user=me&password=mine';
$response = $ua->request($request);

Issam




Apache::ASP, Session Management and the Fun

2000-07-29 Thread Issam W. Alameh

Hello,
I am having a lot of fun with Apache::ASP and the session management with it
and I really recommend any body who hasn't used it to try it, Just for FUN.

 I have a question here, has any body stored sessions in mysql with
Apache::ASP. what is the pros and cons of doing that and How . Any
Examples??

Regards
Issam




RE: Is there a module for getting / setting a Session-ID

2000-07-26 Thread Issam W. Alameh

check Apache::ASP

http://www.nodeworks.com/asp/

It is so great

Issam

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Greg Cope
Sent: Wednesday, July 26, 2000 11:12 AM
To: Modperl list
Subject: Is there a module for getting / setting a Session-ID


Dear All

Is there a (CPAN) module for transparently setting/getting a Session id
from a client:

i.e. If they are using cookies set and send a Session ID (shortish
expiration time) and optionally a User ID (cookie with a long expiration
time).

If cookies are off then use URL mangling to store a Session ID (no need
for a User ID as we would not be able to identify a revisit accurately
..).

These ID's could then be used with Apache::Session to store the data


If not why - does everyone roll thier own ? or are there issues that are
not obvious ? Would any be interested in one ?

Greg Cope