Data Missing on Returning To ASP page using Netscape: 
Author Message
 Data Missing on Returning To ASP page using Netscape:

        I've developed a "VB6  IIS application" which is an ASP
application that calls a VB6 DLL and uses web classes. It works like I
want and expect using an IE browser. However, using a Netscape browser,
I have problems if I leave an ASP page (say a form with user filled in
fields) and go Back to the page or even if I try to Print the page. If
I go Back, all the user entered data is wiped out. If I try printing
the page, even without ever having left the page, it just says or
prints out "Data Missing".
        I assume that there is some Meta key word that controls whether
a page will be "Refreshed" when I go Back to it or Printing it and IE
has the default I want and Netscape doesn't. What HTML do I have to add
to have Netscape act like IE for these situations? (Note: I've changed
all the refresh/cache options for the Netscape browser and it does not
help.) Thanks

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Sat, 12 Oct 2002 03:00:00 GMT  
 Data Missing on Returning To ASP page using Netscape:
I have the exact same problem with asp and a VB6 DLL.  I added a pragma
meta tag with "CACHE" instead of "NO-CACHE" and I didn't have this
problem.  I assume this isn't a good fix because then the data is still
on the proxy.  There is probably a better way that I don't know about.

I have scoured the internet for answers with no luck.

- cubegal


Quote:

>    I've developed a "VB6  IIS application" which is an ASP
> application that calls a VB6 DLL and uses web classes. It works like I
> want and expect using an IE browser. However, using a Netscape
browser,
> I have problems if I leave an ASP page (say a form with user filled in
> fields) and go Back to the page or even if I try to Print the page. If
> I go Back, all the user entered data is wiped out. If I try printing
> the page, even without ever having left the page, it just says or
> prints out "Data Missing".
>    I assume that there is some Meta key word that controls whether
> a page will be "Refreshed" when I go Back to it or Printing it and IE
> has the default I want and Netscape doesn't. What HTML do I have to
add
> to have Netscape act like IE for these situations? (Note: I've changed
> all the refresh/cache options for the Netscape browser and it does not
> help.) Thanks

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.


Mon, 14 Oct 2002 03:00:00 GMT  
 Data Missing on Returning To ASP page using Netscape:
Hi,

The problem is that the WebClass designer adds the
line "Response.Expires=0"
to the ASP file that it creates, which tells the browser that the form
is
invalid as soon as it is displayed.

This cannot be overridden in the app either, since it is the *lowest*
value
set to Response.Expires that takes effect, rather than the *latest*
value
as you might have assumed.

AFAIK, you can deal with this in two ways:

1) Curse a few times over how incredibly stupid Netscape is in this
respect
and quietly accept your fate.

2) Manually change the value of Response.Expires in the ASP file. Note,
however, that you must remember to do this every time that you recompile
your app. Also carefully consider what other implications this may have
on the behaviour of your app.

See also MSDN article Q214539 (although I don't see how their advice to
change the expiration date "in a WebItem in your WebClass" could
possibly
work...)

Regards,

        /Olof

Quote:
> I have the exact same problem with asp and a VB6 DLL.  I added a
pragma
> meta tag with "CACHE" instead of "NO-CACHE" and I didn't have this
> problem.  I assume this isn't a good fix because then the data is
still
> on the proxy.  There is probably a better way that I don't know about.

> I have scoured the internet for answers with no luck.

> - cubegal



> >       I've developed a "VB6  IIS application" which is an ASP
> > application that calls a VB6 DLL and uses web classes. It works
like I
> > want and expect using an IE browser. However, using a Netscape
> browser,
> > I have problems if I leave an ASP page (say a form with user filled
in
> > fields) and go Back to the page or even if I try to Print the page.
If
> > I go Back, all the user entered data is wiped out. If I try printing
> > the page, even without ever having left the page, it just says or
> > prints out "Data Missing".
> >       I assume that there is some Meta key word that controls whether
> > a page will be "Refreshed" when I go Back to it or Printing it and
IE
> > has the default I want and Netscape doesn't. What HTML do I have to
> add
> > to have Netscape act like IE for these situations? (Note: I've
changed
> > all the refresh/cache options for the Netscape browser and it does
not
> > help.) Thanks

Sent via Deja.com http://www.deja.com/
Before you buy.


Tue, 15 Oct 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Data Missing on Returning To ASP page using Netscape

2. problem using component with asp page -- result of function not returned, instead original value returned

3. Returning data from a vb component back to my asp page

4. Returning data from a vb component back to my asp page

5. ASP Returning a DIB Image (I think) from SQL , Netscape doesn't display it

6. ASP Returning a DIB Image (I think) from SQL , Netscape doesn't display it

7. My web ASP page is very slow on Netscape

8. My ASP page is very slow on Netscape

9. Download jpeg file to the client using asp - Response.addheader ignored by Netscape

10. calling asp page from another asp page

11. Returning the user to the previous page by ASP code

12. Returning Recordset to ASP page from .dll

 

 
Powered by phpBB® Forum Software