Inconsistent Results from asp

Discussion in 'ASP General' started by AbeR, May 18, 2004.

  1. AbeR

    AbeR Guest

    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("FirstName") + " " + Session("LastName") )}; %> 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("FirstName") + " " + Session("LastName") )}; %> 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.buffer=true%> but that has not helped. Has anyone expeienced anything similar and/or have any suggestions. Thanks in advance.
    AbeR, May 18, 2004
    #1
    1. Advertising

  2. > 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
    http://www.aspfaq.com/
    Aaron Bertrand - MVP, May 18, 2004
    #2
    1. Advertising

  3. AbeR

    Aber Guest

    Thank you
    Aber, May 18, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Neo Geshel
    Replies:
    2
    Views:
    413
    Neo Geshel
    Nov 3, 2003
  2. Bryan
    Replies:
    2
    Views:
    302
    Bryan
    Sep 23, 2004
  3. Inconsistent Program Results

    , Mar 6, 2007, in forum: C Programming
    Replies:
    20
    Views:
    621
    Randy Howard
    Mar 18, 2007
  4. gershar
    Replies:
    5
    Views:
    212
    gershar
    Oct 26, 2010
  5. Eric Sosman

    Re: Inconsistent results between char/short/int

    Eric Sosman, Sep 24, 2011, in forum: C Programming
    Replies:
    2
    Views:
    288
    Jorgen Grahn
    Sep 29, 2011
Loading...

Share This Page