Results 1 to 5 of 5

Thread: Ignoring ASP...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343
    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

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    post your code,
    i never heard of that,
    with your code maybe will find why!!

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343
    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

  5. #5
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    hmm...maybe you are having some caching problems..add this to your page(s) and see if it works..


    Code:
    Response.Cachecontrol = "no-cache"
    Response.AddHeader = "Pragma", "no-cache"
    Reponse.Expires = -1
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width