Reply
A problem reading global.asa file
Old 02-06-2009, 11:49 AM A problem reading global.asa file
Junior Talker

Posts: 4
Name: Rcardo
Trades: 0
Hi there,

Ive written a site using classic asp which reads elements gathered from the global.asa file. The global.asa file is located in the root file of the website (together with the asp/html source pages). Upon testing the login error site, the 'logon' buton directs to a page named verify.asp to verify the user login credentials. The path to the verify.asp file is stated in the 'post' element within the logon page itself. The verify.asp pages' location is specified within the global.asa file but instead of loking in the specified path, it automatically looks at the top root directory, obviously displaying an error message stating that it cannot locat the verify.asp page.

I have derived the global.asa syntax from a book and i have gone over the code several times now but i'm certain the code is valid.

Do i have to <include> the global.asa file within my pages or do i have to det it up within the server settings?

Is there a way i can convert the global.asa file into an .asp file instead??

Any help toward this matter will be appreciated, thanks!!
stroodle is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 02-06-2009, 09:31 PM Re: A problem reading global.asa file
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
some code is needed.

Personally I stay well away from using a global.asa unless I really have to (usually never)

No the global.asa is not included anywhere, it should simply run when an access is requested to the site.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs

Last edited by chrishirst; 02-06-2009 at 09:32 PM..
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to A problem reading global.asa file
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.11593 seconds with 13 queries