bizzare session variable instance

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

    bizzare session variable instance

    I have an application with 5 or so pages. I use a session variable to
    make sure people login. It has been working fine.

    I added two new pages to the application, cut and pasted the code for
    login (as shown below) however the user gets sent right back to the
    login page ( we login as usual). The other pages work fine. It is just
    the two new pages I added.

    TO make things tougher. This only happens on the production server, not
    my desktop, no changes have been made to the production server.

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
    System.EventArg s) Handles MyBase.Load
    'Put user code to initialize the page here
    If Session("Logged In") = False Then
    Response.Redire ct("Login.aspx" )
    End If

    If Not IsPostBack Then
    Call GetCustomerList ()
    End If

    AddHandler cmbCustomer.Sel ectedIndexChang ed, AddressOf
    GetAssemblies
    AddHandler cmbAssembly.Sel ectedIndexChang ed, AddressOf
    GetWorkFlow
    End Sub

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
Working...