|
I am using HTMLDialogs and they are great apart from one problem. IE always seems to use a cached version of the page and I have to clear the cache to make it update! Anyway around this?
Thanks!!
Davy
http://www.LateDecember.com
|
|
|
|
|
Try putting
Response.AddHeader "Pragma", "no-cache" in your code
"Isn't that the "write once, debug everywhere" language?" Tom Archer on Java...
|
|
|
|
|
Thanks Brian. I added the line but it still used the cached page. However I changed my IE settings to check for a newer page on every visit and this seems to work. It could be related to the way I am calling the dialog (via script).
Davy
http://www.LateDecember.com
|
|
|
|
|
I need to have a timer displayed on an aspx page that reads the time from the server and automatically updates it on the client browser. I was thinking some sort of web service but I'm open to other suggestions or possiblities.
|
|
|
|
|
You would need client-side code to do that (JavaScript, VBScript). Server side code couldn't accomplish that. Unless of course you created a Windows Form and then included that in your page, but that requires the end user to have the .Net Framework.
David Stone
dstone@newcenturytitle.com
MEEKNESS, n. Uncommon patience in planning a revenge that is worth while.
The Devil's Dictionary, Ambrose Bierce
|
|
|
|
|
This is for an internal application so requiring the user to have .NET is not a problem.
I was thinking of have a JavaScript function use setInterval to call the webservice. I'm thinking of investigating how I might use web service behaviors to help with this.
|
|
|
|
|
Could you tell me your good idea?, How to create Chat Java applet (diagram Server and Client)
thanks
|
|
|
|
|
My webhost sadly doesn't support ASP only PHP. I'd like to be able to test my site locally before uploading it.
What do I need to run PHP apps on my Windows 2000 Server?
Michael
|
|
|
|
|
Download PHP for windows from PHP.net.
If your host uses an older version of PHP, you should try to match it with another version.
James
Simplicity Rules!
|
|
|
|
|
Any good book recommendations for PHP?
Michael
|
|
|
|
|
I just use the documentation online
James
Simplicity Rules!
|
|
|
|
|
Its okay, but not something you can take on the bus. I still love learning from a book
Michael
|
|
|
|
|
I have a website with HTML pages.Now I wanna add some feature(new pages) with ASP.NET.Should I update all those pages to .net or I can write new pages with ASP.NET and HTML pages exist near new ones?
Thanks
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
HTML and ASP can coexist with ASP.NET pages.
|
|
|
|
|
Thank you Mark.
Mazy
"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd
|
|
|
|
|
I want replace " by a constant
exp :
<standard source="">
[VBScript]
(1) set fso = CreateObject("Scripting.FileSystemObject")
(2) set fso = CreateObject([constant replace] Scripting.FileSystemObject [constant replace])
help me, what's constant replace to execute (2) same (1)
thanks !!!
|
|
|
|
|
I guess I'm not sure what your question is... Is Chr(34) what you're looking for?
Andy Gaskell, MCSD MCDBA
|
|
|
|
|
Will a proxy server cache a page even if it has
Response.AddHeader "Pragma", "no-cache" in it???
"Isn't that the "write once, debug everywhere" language?" Tom Archer on Java...
|
|
|
|
|
When you create a Solution in VS.NET by default it uses a folder inside the
My Documents called Visual Studio Projects and all other files goes to a
folder with the same name inside the C:\wwwroot folder.
Example :
C:\My Documents\Visual Studio Projects\mySolution\mySolution.sln
C:\wwwroot\mySolution\all other files
Well, wwwroot is a Virtual Directory created by IIS. So theoretically I can
create another Virtual Dir wherever I want and change the VS.NET default to
this new Virtual Dir
Example :
C:\My Documents\Visual Studio Projects\mySolution\mySolution.sln
C:\My Documents\Visual Studio Projects\mySolution\all other files
Explaining : I´ve created a Virtual Directory in C:\My Documents\Visual
Studio Projects and used the same name : Visual Studio Projects, so
everytime I create a new project, VS will put the : solution.sln + all other
files in the same directory in my HD.
That´s perfect, BUT when I test (debug/run) the webForm I´ll receive an
error msg like : "Unable to start debugging on a web server"
Basically I think that IIS is not allowing VS to run outside the original
wwwroot!
How can I fix this problem?
..:: Ken Awamura @ www.kencwb.com ::..
|
|
|
|
|
By default VS sets a webForm to GridLayout, but how can I can its default
settings to FlowLayout, so everytime I create a new webForm it appears in
Flow mode?
..:: Ken Awamura @ www.kencwb.com ::..
|
|
|
|
|
Is it possible to detect if .NET is installed on a users computer...?
If I created some DHTML controls in plain jane DHTML and was considering porting them to JScript. NET how would my site determine if they had one or the other...?
I'm assuming IE5/6 doesn't come with full support for client side JScript.NET...?
That would be great if it did though...
This JScript .NET is exciting me so...I love the fact its more OOP friendly....Private and protected, inheritance...the whole nine yards..
Thanx!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
hello
I have an online war game that is built with ASP pages. My problem is this.........sometimes a player will see a page that has not refreshed (just brings back an old page) itself. This sometimes happens with an ASP page that only reads from a database.
Therefore i need the code that forces the users browser to reload the page.
thanks
Phillip Harrison
http://www.siegewars.net
|
|
|
|
|
You can try to use:
Response.AddHeader "Pragma", "no-cache"
So the page won't be cached and will be downloaded each time requested
Or another way, try to use this one too:
Response.Expires = -1
as a first line in your asp code. I think the second is the right, but who knows which is better?
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|
|
thanks pal
|
|
|
|
|
that seems to work great thanks.
any idea how i can get the index page forced to reload?
Phillip Harrison (Goblin)
http://www.siegewars.net
|
|
|
|