|
I've had this very same problem only my web server was on another machine. I gave up after a while and just installed iis on my dev machine. This doesn't help you much though...
Anyone got an idea?
Pete
|
|
|
|
|
well apart from travelling to nyc and taking an axe to the server is there any way to make iis NOT cache certain pages (asp pages to be exact)? it refreshes the htm files immediately but the asp doesnt ever seem to change and its really p***ing me off
help or axes + cheap plane tickets appreciated
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" sonork: 100.18128 8028finder.com
|
|
|
|
|
|
Jeremy hit the nail on the head with the links to MSDN on cache control Lauren, however I checked prices for you from South Africa (Cape Town area) to New York City (LaGuardia airport) round trip for a week and the cheapest I could come up with is $2,957.88 (airfare alone). I think it's within your financially best interests to read the MSDN articles.
Nick Parker
|
|
|
|
|
I try to use Response.IsClientConneted, Session_OnEnd, But seemed it did not work.
does anyone has such experience to solve this problem?
|
|
|
|
|
I just created a test ASP page and Simply put in:
<code>
<%
Response.Write(Response.IsClientConnected)
%>
</code>
Which returned True, which it should, how are you trying to use it?
Nick Parker
|
|
|
|
|
I'm trying to make dynamic pages containing database data. My system is a WindowsXP. The database is a MS ACCESS 97 database and it's located on another computer in the network. I made the DSN targeting that database on the network. I cannot move the database on the server cause it's vital that it stays there. I exported the asp file on the database computer and I copied it on the xp server. When I load the asp file I get this error:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Why? Can anyone help me with the procedures for connecting to an extern database ?
Thank you !
|
|
|
|
|
BlackRider wrote:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Why? Can anyone help me with the procedures for connecting to an extern database ?
You need to make sure you are creating a SYSTEM DSN when using ASP, not a USER DSN. Also, your ConnectionString may be referencing either the application path or local path to the DSN and you need to make sure you are targeting the network path instead.
HTH
Nick Parker
|
|
|
|
|
I still do not know where should I put this code. In the head of each file or in global.asa file?
Did anyone ever use it?
|
|
|
|
|
Could you explain a little more about what you are trying to do?
Nick Parker
|
|
|
|
|
I want to write a chat room. When I control the people in a chat room, I should know who will be out of this room. So If one client close its window, it will be out. I want the server to detect it and delete it from a table in database. From book I knew that it can be detected by using response.IsClientConnecte. But I put it in the head of the file and found it did not work. I also want to use Session_OnEnd to control it, but it din't work too.
That is my problem.
|
|
|
|
|
I have never used that, however you may consider using a cookie instead. From how I see things( which is sometimes abit skewed ) Response.IsClientConnected would do little value becuase in order for you to use the Response object the *connected* client will essentially need to postback to the server; this is a server-side object.
HTH
Nick Parker
|
|
|
|
|
What I worry about is that how to let server to know the client is off
I do not think cookie can do it.
|
|
|
|
|
You could use a timer in javascript, having the client postback to the server once the specified time is up and then delete the user then, there are a lot of possiblities.
Nick Parker
|
|
|
|
|
I want to publish the chat site on website(with ASP and SQL Server), is there anyone tell me where i can find a supplier? the cheaper, the better, because i still very poor.
thanks
|
|
|
|
|
|
Thanks for your information
|
|
|
|
|
I want to use a global Variable in my ASPNET Pages, Does defining variable in Global.aspx as a public member ,help ? If so how ?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
I haven't used ASP.NET yet, but I'm assuming it'll be similar to ASP...
Yes, use the Global.aspx file (in ASP it's global.asa), but make sure you have your site as a registered IIS application or else it won't work. It will be called when the application is started the first time.
Use either the Application or Session object to store a variable and value. Use the Application object if you each user to share the same variable. Use the Session object if you want each user connected to the app to be able to have their own copy of the variable. These objects also have event procedures to fine-tune what you can do.
For instance, let's say I wanted to store a username for each connected user. My global file could have something like...
<script language="JScript" runat="Server">
function Session_OnStart()
{
Session("user") = String(GetYourValueSomehow());
}
</script> Then, I could refer to it in any ASP page within the application by using...
Session("user") Also, just as an FYI, the Session object relies on cookies. So, do be somewhat weary when using it. The Application ojbect is completely server-side, so no worries there.
Jeremy Falcon
Imputek
<nobr>"Life is too precious - don't waste it." - Norm Almond
|
|
|
|
|
Getting value from stuff you don't own is a compelling
idea. Just think, someone else has created something
that has value, and has made it available to you. You
can now leverage its value in ways that makes all
parties richer. That's the promise of web services.
You need to know about web services. The advent of
standards-based web services marks a new era of
system development. First mainframe, then client-server,
the Web, now web services makes it possible to leverage
every legacy system of the past and do so much more
with your information assets.
Architag Press, a division of Architag International
Corporation, announces the publication of Web Services
Implementation Guide, Volume 1: Getting Started, by
Brian E. Travis and Mae Ozkan.
Sample chapters of the book is available at
http://www.architag.com/press/wsig.
This book will show you what a web service is, and
how you can align your internal systems and external
trading partner interactions to take advantage of this
new concept in system integration.
You will learn about the "Three Steps to Web Services":
* Automate internal systems
* Determine integration points
* Expose integration points as web services
This book is for systems architects, developers,
and I.T. decision makers.
Highlights in this book:
* Written in a light, entertaining style.
* Emphasis on architectural design for web services.
* A tutorial on the state of web services standards.
* Plenty of real-life examples of web service use.
* Tutorials on the key technologies: XML, SOAP,
WSDL and UDDI.
* Code samples of key XML-based web services
technologies and extensions.
* Companion Web site with all code samples and
late-breaking information.
----
Download sample chapters of Web Services Implementation
Guide at http://www.architag.com/press/wsig/.
Stanford Powers, Publisher Architag International Corp
Phone: 866-898-0001 Outside US: +1-303-426-3126
Email: spowers@architag.com Fax: 720-294-1396
|
|
|
|
|
If I want use ASP.NET to develop a real time chat room ?
How should I do ? Is there any samples for me ? Thx.
|
|
|
|
|
I am using asp to develop chat room.
|
|
|
|
|
How do you do it in RealTime Chat ? Can you tell me ?
|
|
|
|
|
what do the realtime mean here? i am some confused about it? can you give me some explation about it? I hope you do not mean the voice,if it is that, i also don't know how to do it and want to learn about it
|
|
|
|
|
No. I do not mean the voice. I just want to do a chat room like one in bbs. I want do it in ASP. What I type now the other will see it in immediately.
|
|
|
|