Inconsistent Results from asp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AbeR

    Inconsistent Results from asp

    I have written a fairly simple reporting app that has been working for a few years without any issues until this past week.

    The application has a login page with a DSN lookup for login/password validation. A confirm login asp page does a redirect back to the login page if failed or to a menu page if passed where I pull information from the database into session variables that I pass throught the app for dynamic/individualized queries

    I always get the DSN to validate login. Since I test on three systems I get differing result in each with exactly the same code:
    (1) system 1 (local) works as planned - the validation page redirects me to the menu page and carries the session variable. The menu lets me carry variables to the results page (Windows XP Pro
    (2) ISP 1 - the validation page redirects me to the menu page and but does not carry the session variables. The menu results with <% {Response.Write ("Hello " + Session("FirstN ame") + " " + Session("LastNa me") )}; %> results in "Hello Undefined Undefined" when a valid login is put in. Submitting a request results in a "HTTP 5oo Internal server error" The page cannon be displayed. In system 1 the same code was FTP-ed and funtional. The ISP runs W2K server and claims they have not done anything for a while, but I know that MS has had a series of security patches lately
    (3)ISP 2- Also W2K the validation page redirects me to the menu page and carries the session variables. The menu results with <% {Response.Write ("Hello " + Session("FirstN ame") + " " + Session("LastNa me") )}; %> results in "Hello Jim Jones when a valid login is put in as it should. Submitting a request results in a "HTTP 5oo Internal server error" The page cannon be displayed. Again this worked on the XP system and this code has been working untouched for at least 18 months

    Any suggestions would be greatly appreciated. I've tried <%response.buff er=true%> but that has not helped. Has anyone expeienced anything similar and/or have any suggestions. Thanks in advance.
  • Curt_C [MVP]

    #2
    Re: Inconsistent Results from asp



    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    Site: http://www.Darkfalz.com
    Blog: http://blog.Darkfalz.com


    "AbeR" <anonymous@disc ussions.microso ft.com> wrote in message
    news:61861AF3-BB6C-46E3-AEEB-2CF72D2C2C22@mi crosoft.com...[color=blue]
    > I have written a fairly simple reporting app that has been working for a[/color]
    few years without any issues until this past week.[color=blue]
    >
    > The application has a login page with a DSN lookup for login/password[/color]
    validation. A confirm login asp page does a redirect back to the login page
    if failed or to a menu page if passed where I pull information from the
    database into session variables that I pass throught the app for
    dynamic/individualized queries.[color=blue]
    >
    > I always get the DSN to validate login. Since I test on three systems I[/color]
    get differing result in each with exactly the same code:[color=blue]
    > (1) system 1 (local) works as planned - the validation page redirects me[/color]
    to the menu page and carries the session variable. The menu lets me carry
    variables to the results page (Windows XP Pro)[color=blue]
    > (2) ISP 1 - the validation page redirects me to the menu page and but does[/color]
    not carry the session variables. The menu results with <%
    {Response.Write ("Hello " + Session("FirstN ame") + " " +
    Session("LastNa me") )}; %> results in "Hello Undefined Undefined" when a
    valid login is put in. Submitting a request results in a "HTTP 5oo Internal
    server error" The page cannon be displayed. In system 1 the same code was
    FTP-ed and funtional. The ISP runs W2K server and claims they have not done
    anything for a while, but I know that MS has had a series of security
    patches lately.[color=blue]
    > (3)ISP 2- Also W2K the validation page redirects me to the menu page and[/color]
    carries the session variables. The menu results with <%
    {Response.Write ("Hello " + Session("FirstN ame") + " " +
    Session("LastNa me") )}; %> results in "Hello Jim Jones when a valid login is
    put in as it should. Submitting a request results in a "HTTP 5oo Internal
    server error" The page cannon be displayed. Again this worked on the XP
    system and this code has been working untouched for at least 18 months.[color=blue]
    >
    > Any suggestions would be greatly appreciated. I've tried[/color]
    <%response.buff er=true%> but that has not helped. Has anyone expeienced
    anything similar and/or have any suggestions. Thanks in advance.


    Comment

    • Aaron Bertrand - MVP

      #3
      Re: Inconsistent Results from asp

      > Submitting a request results in a "HTTP 5oo Internal server error"

      I assume you meant 500. This information is not very useful. Get to the
      root of the problem. http://www.aspfaq.com/2109

      --
      Aaron Bertrand
      SQL Server MVP
      Please contact this domain's administrator as their DNS Made Easy services have expired.



      Comment

      • Aber

        #4
        Re: Inconsistent Results from asp

        Thank you

        Comment

        Working...