PDA

Click to See Complete Forum and Search --> : Ignoring ASP...


turfbult
Feb 23rd, 2001, 05:18 AM
Hello,

I wrote all my asp pages to include the <% asp tags %> before reaching the <html> tags -
apparently good programming practice.

I use the POST method, together with hidden input/text boxes to send variables from 1 page
to the next - this works 100%. My problem is that when I link to one of these pages, from
a different page, using a hyperlink, the page loads IGNORING the <%ASP%> tags and just starts
loading from the <HTML> tags.

How can I fix this OR change my hyperlink??

Thanks,
T

sebs
Feb 23rd, 2001, 08:06 AM
post your code,
i never heard of that,
with your code maybe will find why!!

Cander
Feb 23rd, 2001, 08:23 AM
what is the hyperlink look like?

http://blah.blzh/blh.asp

or

file://c:\inetub\blah\blah.asp


If it looks like the second one. That would be the problem.

turfbult
Feb 23rd, 2001, 08:25 AM
It looks like the first one - the normal hyperlink....

highlight the word (like "BACK"), click on hyperlinks and choose where to link to - this is done in Frontpage.

T

Cander
Feb 23rd, 2001, 09:00 AM
hmm...maybe you are having some caching problems..add this to your page(s) and see if it works..



Response.Cachecontrol = "no-cache"
Response.AddHeader = "Pragma", "no-cache"
Reponse.Expires = -1