|
This env. var depends on the headers of the HTTP request, so I wouldn't
rely
on it.
I would use a session cookie to see if the user is logged in or not.That
means adding a little routine to the beginning of every program in yourthe
application so that if the user isn't logged in you redirect them to
login page.
It's not that painful if implemented correctly. :)
Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com
themWhat I'd like to do is, if a request comes in to pgm1.pgm and that
browser/user isn't logged in, I'd like to pop the login.pgm, make
rpg.login, and once they are logged in, direct them to where they were
heading. Ie; pgm1.pgm. I'd like to do this program-atically in my
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.