Pages Are Not Refreshed On Client Machines

I have a web site where I use cookies to navigate between
the pages. The cookie is his id no which is nothing but
his staff id no. All most all pages are dynamic and
connected to sql server 2000 through ADOs. My problem is :

if any one logs in and enter bowse the pages and goes back
uses other log in his old page is displaced rather than
new one, untill he explicity uses the refresh button. Once
he does that , it is working. Iam using javascript menus
to navigate between pages.Previously when menus are not
there pages were working fine.

View Replies


ADVERTISEMENT

2 ASP Pages Communicate With JavaScript Object In 2 Machines

I wrote 2 ASP pages that communicate with JavaScript objects. page1.asp and
page2.asp are put in separate servers in separated machines. If I put in
single machine, it is fine. Now it has Runtime error: 'params.test' is null
or not an object. Any ideas?? Code:

View Replies View Related

ASP Pages Blank Until Refreshed

I have an online application made up of ASP pages (IIS 5.0 on Windows 2000 Server) drawing data from a SQL Server database. Most of the time, everything works exactly as it should. Connections are opened to the database, queries are run and data is returned and writen out, connections are closed, etc.

However, every so often a page simply won't load. It isn't trying to load and then timing out or anything, it's like it's ignoring the page entirely. It shows the correct URL in the address bar of IE, but there's nothing but a blank white page displayed. Viewing the source of the blank page reveals that instead of the correct code for the page, we get this: Code:

View Replies View Related

Would You Still Need Client Script In Asp.net Pages?

would you still need client script in asp.net pages?

View Replies View Related

IE Produces 404 Error When Calling Page, But Only On Some Machines...

We are currently facing a strange problem. We wrote an ASP application using some sessions and database-connectivity, nothing special.

On some machines (we are all using IE5.5 / IE6) those applications produce a 404 error.

The pages that are called do exist (I checked it thousands of times and it is only happens on some machines). Most of the machines have no problem with that pages and do not produce any errors which makes me belive that it is no real programmed problem.

The strange thing is that a reinstallation of IE mostly helped and if not we reinstalled the complete computer (as you can guess this is no real suitable way.

Maybe it has something to do with the sessions we use, but they are not so big.

I hope (not for the one who really has) that somebody has also experienced this kind of problem and can point me into the right direction.

I also tried different IE newsgroups but they had no idea, that's why I now try to ask ASP-programmers.

View Replies View Related

ObjWshell.Run :: Command COMSPEC Disappeared Of All My Machines

I was using:

<% Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE %>

BUT the comand COMSPEC disapeared of all my machines which we have ms-windows 2000 installed!So now no-one machine can continue run my routines which accessed ms-dos by ASP. COULD anybody send me the comspec command by e-mail whith the subject: Comspec to WScript.Shell.

View Replies View Related

Page Being Refreshed

How do i stop a page being refreshed and running my asp scripts again and again

View Replies View Related

How Do You Detect When A Page Has Only Been Refreshed?

I'm trying to write an ASP interface that mimiks a .Net datagrid control.
I'm having a problem when I'm in the middle of an Edit, Update, or a New
Record.

If the user hits the wrong button, the program grabs the values in
the textboxes using the request.form() and then redisplays them in the
textboxes when the records table gets written back out to the page. This
works fine as long as the form is submitted.

If it's just a page refresh
(F5), the program doesn't get the latest changes to the textboxes and
displays either a blank or whatever was in there the last time the form was
submitted. Anybody got any ideas?

View Replies View Related

Determine If Page Refreshed

First I would question why you want to do this. If they get to the page by any means it should respond appropriately, whether refresh or by link. This is a stateless environment after all.

That being said...

I would take the approach of setting a session variable that gets set the first time they hit the page:

<%
if session("NotTheFirstTime") = "" then
'write the onload
session("NotTheFirstTime") = true
end if
%>

then based on that variable write or don't write the onload.

Of course, if the user can access the page from multiple links and the onload is valid for each link, regardless of how many times they hit the page, this won't work....

View Replies View Related

Code Behind File Not Being Refreshed

we're running IIS 5 and trying to do a simple update to a code behind file (Login.aspx.vb) we copy the file over to the server, but we're not seeing the updates. the server is still reporting errors on line numbers in the file that no longer exist. we've even stopped / restarted the service, with no luck.

View Replies View Related

Recordset Being Displayed Isn't Refreshed

i've created a simple web app that allows users to enter in
information about a project in a web form and save that information to
a database (Access). After a user enters in all the information, she
can click on a link to go to an index.asp page that displays all the
projects that have been added.

the problem i'm having occurs after the user enters in all their
project information. when the user goes to the index page, the index
page is suppposed to retrieve all records and display them, but it
doesn't.

even after hitting the Refresh button in the browser, it
won't display the latest project that the user just entered. however,
if i add a second project and then go back to the index page, it will
work fine and display both the first and second projects. so, it's
like the first project won't be displayed until i enter in another
project after it (like the first project is stuck). does anyone know
what the problem may be?

View Replies View Related

Asp Pages Randomly Showing As Blank White Pages

Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.

I enable server side and client side debugging, but no
errors showing up...

In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------

Any idea why it can happened and how to fix?

View Replies View Related

Old Pages / Cached Pages

I am always getting cached pages even contents of the page changed on the server but I am getting old page (data).How to solve this.

View Replies View Related

Creat Pages Using Other Pages

is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?

View Replies View Related

Client IP

I try to use script to get client IP

<%
dim IPAddr
IPAddr = Request.ServerVariables("remote_addr")
Response.Write("Your IP Address is " & IPAddr)
%>

but script return IP of Web site, not CLIENT and not null value!
My site is hosted on W2003 server SP1, IIS, ISA
I'm only using ASP no ASP.NET

View Replies View Related

Client Via Asp

I've been lurking and searching for a while and hope someday to contribute to the forums.
My question though it may seem strange is this.
Is it possible to run a compiled VB app on the client machine that is called from an asp app running on an intranet server?
Intranet server pushes asp to client's web browser.
Client clicks on a link that somehow runs the process on the client machine.
I realize this is not what asp is meant to do but I do have some applications that could be integrated into the company intranet fairly easily if this is possible. A re-write in asp would be labor intensive. It is simple enough for me to setup standard folders on the clients that require these apps

View Replies View Related

What URL Did Client Come From

I have 2 URL's like this:

xy.abc.com
yz.abc.com

They bolth point to an IP where page1.asp is the default. Hosted on a IIS 6
server.

What code do I use inside page1.asp to determine which of the 2 sites above
the user used to access page1.asp.

View Replies View Related

Learning Client Ip

how can i learn client ip who connect my site..

request.ServerVariables("REMOTE_ADDR") with this i learn my server ip..

View Replies View Related

Client Scripting

The following HTML exists on a page in Internet Explorer v6:

<BODY>
<FORM action="x" method="post" name="Form1">
<INPUT type="hidden" name="key" />
<INPUT type="submit" value="Go" />
</FORM>
</BODY>

What would be the correct VBScript or JavaScript syntax to:
A. Set the value of the key field to "ABC"
B. Submit the form to the server

View Replies View Related

Downloading To Client From ASP

I am developing an app that has a reporting function
which displays the non-PDF reports. One of the users
wishes to have the reports saved to his machine as PDFs.

The app can convert the reports, and save to the server
with no problem (uses a component for this). The problem
is, figuring out how to save the reports to the client.

The ideal approach would be to have the app save the
reports to his desktop, like some of those stupid casino
sites save their shortcut links.

However, I would settle for just just being able to force
the "download" dialog to display, instead of opening
Acrobat when the app attempts to send the report to the
client.

View Replies View Related

How To Get Client Email?

im setting up a database email for my job and i still need a little help. Thx for those who helped me out for past touble...

Well, im now at the step of email deletion from the list and im using a simple script for that (cuz im new to programming).

After the customer received the email, i want him to be able to unsubscribe to my newsletter with a click on a link which lead to a delemail.asp page where the script is. Code:

View Replies View Related

How Can Get Client Ip Address

how can i find the ip address of a client?

View Replies View Related

Streaming XLS To The Client

I have a page which allows the user to open one of several spreadsheets by
streaming the XLS to the client.

On my development site, everything appears to work fine. On the live site,
it works fine for the vast majority of users, but not for my colleague & I.

When this page is called with the correct inputs, the standard
Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the
following details:

Filename: Gothenburg Sweden.xls
File type: Microsoft Excel Spreadsheet
From: Servername

Clicking on open, means that the file will be opened in the local copy of
Excel; this works for most people, except one colleague and myself. In our
case, after clicking on Open, we get the following error msg:

"Internet Explorer cannot open travel.asp?journey=1 from <servername>
Internet Explorer was not able to open this internet site. The requested
site is either unavailable or cannot be found. Please try again later."

Anybody got any ideas about this? Code:

View Replies View Related

Client Entries

I want to validate client entries into textbox,checkbox
controls etc. can u do this with asp. Like, is there
onchange and onclick and so on for these controls?

View Replies View Related

Client Intranet

I'm currently working on an Intranet for one of our clients. I'm developing a user directory for them using a SQL Server database.
My client has provided me with the information to connect to the server remotely via windows remote desktop connection. I would like to know how I go about getting Dreamweaver to connect to the database?
Will I have to create a database locally and then publish the local database onto their server or, can I create the database on their server and using DW to connect to it?

View Replies View Related

Client Side

This has happened before and it was due the connection string not being set
in VB. My question is, when I try to reconnect can I use a different
connection string on the client than I have on the server, I wonder because
not all my connection strings are not equal.

Some of my database paths are in Access and the rest are in SQL. That means I have to retry several times before a scrip timeout occurs. If you have read this far then you are an idiot, but the rest of the database seems to work just fine. In fact I can
pull all fields out with no problem. It is just that connection string that
has resulted in causing my pages not to post.

View Replies View Related

How To Use ActiveX For Client PC Using ASP

I have created one ActiveX DLL in VB that has one public function
("GetClientCPUID") which will return a string of the CPUID. I want to use
this to get the clients CPUID and retuern to webserver. I am new to using
activeX in client side.

In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.

Also suggest what are the situations that I should know before I proceed. I
think there will might a issue when I upgrade the activeX and the client
those are using the current one may face problem so I think I will need a
way to uninstall the register the new one. Code:

View Replies View Related

Client IP Address

how to get client IP address in asp i know there a variable that can get user IP address but which i forgot already, anyone here can tell me

View Replies View Related

Add Client Side

I want to add clinet side javascript on the asp:dropdownlist's onchecked changed event how i do this does any one have any idea.i use the following method in vb.net code behind file

dropdownlist1.Attribuets.add("onCheckedChanged","javascript:aa()")

and see that when i change the option in the list the javascript method aa not fired.

View Replies View Related

Server And Client

I have my asp pages stored in my server ,but when i try and call the asp pages in the clinet side it does not show a portion of the page,the same thing if i call from the server it shows me.

View Replies View Related

Streaming An XLS To The Client

I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client.

View Replies View Related

Get Client IP Address

I am trying to get the IP address of the Client machine and using the code:

Response.Write(Request.ServerVariables("REMOTE_ADDR"))

But I only get 127.0.0.1

It should be giving the IP address of the system or the gateway. How can I get that.

View Replies View Related

Get Client's ComputerName

Is there a way to get the clients computername through ASP??

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved