Mike,
The Global.ASA file is used in Microsoft's Internet Information Server to
controll session information, and global application variables. For
example, you might put a connection string in the Global.ASA instead of
embedding it into the application so that application can be ported to more
than one server and SQL environment. As each connection string will vary,
depending on the make, model, and manufacture of the SQL server, database,
and table's being accessed, and password being used.
Another feature of the Global.ASA is to manage the starting and stopping of
sessions. In the Global.ASA you would define sections of code that would be
run when a new session started, and when a session terminated, either by
timing out or by the user signing off. This allows the program to maintain
an active connection to an SQL server, instead of recreating it every time
the page is requested.
These are the basic reasons why the Global.ASA file was created, and is
used.
Michael J. Fuhrman
WebSite Design Consultant
Reliable Business Computers
http://www.creliable.com/
> -----Original Message-----
> From: Michael Azzi [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, July 08, 1999 10:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: global.jsa
>
> I am not very familiar with ASP technology, so would you mind me if I ask
> what
> "global.asa" is,
> or what would a JSP equivalent "global.jsa" accomplish.
>
> Regards,
> Mike.
>
>
>
>
>
> Michael Fuhrman <[EMAIL PROTECTED]> on 07/08/99 08:31:08 AM
>
> Please respond to Michael Fuhrman <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Michael Azzi/PSDI)
> Subject: Re: global.jsa
>
>
>
>
> Addison-Wesley's book on Java Server Pages presents a good example on how
> to
> accomplish this. What they did was in the Java Servlet, it checked to see
> if the cookie or Session ID was present. If it wasn't, then the servlet
> redirected the browser to the start page.
>
> Michael J. Fuhrman
> WebSite Design Consultant
> Reliable Business Computers
> http://www.creliable.com/
>
> > -----Original Message-----
> > From: Kevin Burton [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 07, 1999 3:41 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: global.jsa
> >
> > This is is a really good question. From what I have read of the spec I
> > don't think there is one.
> >
> > I assume it could be accompolished by sending the client to a single
> > "session/application start" page which then redirects them to a page or
> > pages that assume the session is started. But this is kind of kludgy
> > and requires an HTTP redirect which means extra latency (BAD LATENCY,
> > BAD!)
> >
> > I have to write an application that has this functionality. Will see.
> >
> > "Joseph, Sajeev" wrote:
> > >
> > > Does anyone know if there is a "global.jsa" in JSP 1.0, similar to the
> > > "global.asa" in ASP?
> > >
> > > Thank you,
> > > Sajeev Joseph
> > >
> > >
> >
> ==========================================================================
> > =
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff JSP-INTEREST". For general help, send email
> to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> >
> >
> ==========================================================================
> > =
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff JSP-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".