Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 27th, 2005, 12:48 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch.7 global.asa

  Hello, I have followed the instruction on p267 adding a global.asa file in the root directory:
C:\Inetpub\wwwroot
and just in case I copied this file and paste on the subdirectory: C:\Inetpub\wwwroot\TheSoccerSite
  But I still not getting the ASP part prints out on screen in IE.
  I use the global.asa from the source code.
  Thank you. I think it should be an easy question.

 
Old February 27th, 2005, 05:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

What do you get printed instead?

Did you follow the steps on page 262 to change your TheSoccerSite folder in a Virtual Directory?

If you don't follow these steps, the application does not have its own session state.

The global.asa should be in C:\Inetpub\wwwroot\TheSoccerSite, not C:\Inetpub\wwwroot

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 1st, 2005, 05:50 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think I fixed that problem. Thank you Imar! Where are the other 2 authors? You are the only one working on this forum.

 
Old March 2nd, 2005, 05:05 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I don't know. Haven't spoken to them for a while....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old June 27th, 2006, 09:23 AM
Authorized User
 
Join Date: Sep 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey I am facing the same problem
Not able to make use of gloabal.asa when it is placed in the application directory for eg C:\Inetpub\wwwroot\App1
It is working when placed in C:\Inetpub\wwwroot

But with that I cant separate global.asa for different applications

 
Old June 27th, 2006, 04:13 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi vin_0x1,

As stated in this thread, you need to change App1 into a virtual directory.

To do this, open the IIS Manager, locate your site and then App1, right click it and choose Properties. On the Virtual Directory tab, click Create to change the folder into an application. That should give it its own global.asa access and session state.

Cheers,

Imar





Similar Threads
Thread Thread Starter Forum Replies Last Post
global.asa samwisegamgee16 Classic ASP Basics 1 September 25th, 2007 05:31 AM
global.asa vin_0x1 Classic ASP Components 2 July 24th, 2006 01:13 AM
Global.asa gmoney060 Classic ASP Basics 3 September 25th, 2004 09:11 AM
Global.asa madsmad ASP.NET 1.0 and 1.1 Basics 1 August 17th, 2003 07:05 PM





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