Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 12th, 2004, 11:39 AM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Global.asa issues

I have recently put together a test website on our test server. Everything worked fine until a power loss in the data center shut down all of our servers. All of the other websites started fine but now the test website is not getting any session variables from the global.asa. The production box came down as well and the same code there is working fine. There are other sites on the test server that also seem to be running their global.asa without a problem.

I'm still pretty inexperienced in working with IIS and this was the first website I'd personally set up in it. Is there something that needed to be set in IIS to have it reference the global.asa?

The only difference from the production version is that I have the site in a "test site" folder. The global.asa is still in the root of the site but the the site is not on the root of the website folder with all the other sites. But if this location is the problem, why would it have worked prior to the reboot?

Sorry for the length. Any help would be appreciated.


Reply With Quote
  #2 (permalink)  
Old November 13th, 2004, 12:57 AM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;;the test website is not getting any session variables from the global.asa.

It is written about here and there to 'initiate session vars in the globa.asa file' - this is not required. Do you set any values there? this would be the only reason I would initiate them here. FYI - You can create them on any page.

;;;Is there something that needed to be set in IIS to have it reference the global.asa?

No I do not believe so, there is one to allow sessions. What version of IIS are you using? Have you tried creating one outside the global.asa file? Testing this will go along way in solving your problem.

;;;The only difference from the production version is that I have the site in a "test site" folder

This is fine, you can build the contents of your 'www' dir how ever you please.

;;;why would it have worked prior to the reboot

A reboot shouldnt change the properties of the web site or the machines default web site in any way, not sure on that one.


Wind is your friend
Matt
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global.asa pushpa Classic ASP Basics 19 March 9th, 2007 08:30 AM
About Global.asa pbcatan Classic ASP Databases 2 December 4th, 2006 12:40 AM
global.asa vin_0x1 Classic ASP Components 2 July 24th, 2006 01:13 AM
Global.asa madsmad ASP.NET 1.0 and 1.1 Basics 1 August 17th, 2003 07:05 PM



All times are GMT -4. The time now is 08:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.