p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asptoday_discuss thread: Excel


Message #1 by "William Marquino" <wmarquino@d...> on Tue, 29 Jan 2002 17:02:25 -0700
Hi,



I use the following code to open a page in Excel:



<% Response.ContentType="application/vnd.ms-excel"%>



This works most of the time. However, some users attempting to hit my server

have problems. Additionally, putting these pages on other web servers

occasionally results in problems. One example is an error that seems to be

generated because a Session Object cannot be retrieved. However, a page

generated immediately prior finds and uses that same Session Object.



Does this ring a bell with anyone?



Thanks for any help.



-Bill Marquino



Message #2 by Aaron Bull <aaronb@a...> on Wed, 30 Jan 2002 11:47:02 +1100
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C1A927.A49E6FF0

Content-Type: text/plain



Make sure you response.buffer = true



Aaron



-----Original Message-----

From: William Marquino [mailto:wmarquino@d...] 

Sent: Wednesday, 30 January 2002 11:02 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] Excel





Hi,



I use the following code to open a page in Excel:



<% Response.ContentType="application/vnd.ms-excel"%>



This works most of the time. However, some users attempting to hit my server

have problems. Additionally, putting these pages on other web servers

occasionally results in problems. One example is an error that seems to be

generated because a Session Object cannot be retrieved. However, a page

generated immediately prior finds and uses that same Session Object.



Does this ring a bell with anyone?



Thanks for any help.



-Bill Marquino







  Return to Index