HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 7th, 2000, 12:06 AM
Arvind SR Arvind SR is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 2 Arvind SR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

I'm using <!--#include file="counter.asp" --> tag 2 include asp file in a shtml file. the asp file is called alright, but, only the html tags in the asp file are getting executed - not the asp content. how 2 go about it? can anybody help me out? thankx in adv.

Arvind

Reply With Quote
  #2  
Old November 8th, 2000, 10:17 AM
mcwinterr mcwinterr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 12 mcwinterr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
by the time you have executed your asp code and called the server side include, you have already made your trip to the server, therefore, any asp code will not be executed within the include. to have it executed, you need to be running iis5. then you can use the server.execute method. check the msdn link below to learn more:
http://msdn.microsoft.com/library/p...ef/vbob9pid.htm

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Arvind SR:
Hi,

I'm using <!--#include file="counter.asp" --> tag 2 include asp file in a shtml file. the asp file is called alright, but, only the html tags in the asp file are getting executed - not the asp content. how 2 go about it? can anybody help me out? thankx in adv.

Arvind
[/quote]



[This message has been edited by mcwinterr (edited November 08, 2000).]

Reply With Quote
  #3  
Old November 8th, 2000, 07:19 PM
Arvind SR Arvind SR is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 2 Arvind SR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thankx 4 the response. i'll try it out.


<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mcwinterr:
by the time you have executed your asp code and called the server side include, you have already made your trip to the server, therefore, any asp code will not be executed within the include. to have it executed, you need to be running iis5. then you can use the server.execute method. check the msdn link below to learn more:
http://msdn.microsoft.com/library/psdk/iisref/vbob9pid.htm



[This message has been edited by mcwinterr (edited November 08, 2000).]
[/quote]


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > server side #includes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway