Results 1 to 7 of 7

Thread: Sessions and unperdictable results...

  1. #1

    Thread Starter
    Addicted Member Michael Woolsey's Avatar
    Join Date
    Nov 2000
    Location
    Calgary, Alberta, Canada.
    Posts
    243

    Sessions and unperdictable results...

    I have two servers at my disposal, a development server and a live server. These two servers are suppose to be identical, they are not, but I can't figure out why.

    My problem relates to a session variable, and how they act differently between servers. The two servers have identical code and file structures.

    I have a Login site which then will let you click to a data site. These are both in seperate directories on the harddrive and seperate sites in IIS.

    Live Server:
    When I abandon my sessions (Session.Abandon) in the data site, the user retains the session variables in the Login site.

    This is the way I want it to be, so I assume it's working correctly.

    Development Server:
    When I abandon my sessions (Session.Abandon) in the data site, the user does not retain their session variables in the Login site.


    Does anyone have any clues why they would act differently with the same version of IIS, and the exact same code?

    Here is the logout.asp page I'm using in the data site:
    VB Code:
    1. <%
    2.  
    3.   session.Abandon
    4.  
    5.   Response.Redirect "../mysecuregienow/mainpage.asp"
    6.  
    7. %>
    Any help would be greatly appreciated.

    Thanks,
    Michael Woolsey
    Application/Web Developer

    Visual Basic 6.0 SP5
    Active Server Pages
    Oracle 9i
    - I'm going to live forever, or die trying!

  2. #2
    Member
    Join Date
    Sep 2002
    Posts
    56
    Are you the same gu who was spamming giga forums?

  3. #3

    Thread Starter
    Addicted Member Michael Woolsey's Avatar
    Join Date
    Nov 2000
    Location
    Calgary, Alberta, Canada.
    Posts
    243
    Even if I was, which I'm not, I have two questions for you...

    1. How could you not tell? Do I have the same writing style, am I asking the same question and have I spammed this board?

    2. Why do you bother asking is there something you plan on doing about it if I were?
    Application/Web Developer

    Visual Basic 6.0 SP5
    Active Server Pages
    Oracle 9i
    - I'm going to live forever, or die trying!

  4. #4
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    Originally posted by WattsTech
    Are you the same gu who was spamming giga forums?
    Why don't you just answer his question?

    And about your problem, are you sure the session on the live server isn't abandoned? Also, maybe there's some option in IIS?
    K i n g s

  5. #5

    Thread Starter
    Addicted Member Michael Woolsey's Avatar
    Join Date
    Nov 2000
    Location
    Calgary, Alberta, Canada.
    Posts
    243
    I did answer the question...
    Even if I was, which I'm not have two questions for you...
    I'm positive the variables aren't abandoned on the live server, the way I have the code set up it automatically redirects my pages if the sessions don't exist.

    I'm guessing my tech didn't set up the servers the same, but I'm at a loss to what would cause this to react this way.

    Does anyone know which way it's suppose to work? If I abanond a session in the web site, should it kill the sessions in the other web site?

    I don't think they are suppose to, but I guess I should check since they aren't working the same for me. 8)
    Application/Web Developer

    Visual Basic 6.0 SP5
    Active Server Pages
    Oracle 9i
    - I'm going to live forever, or die trying!

  6. #6
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    Originally posted by Michael Woolsey
    I did answer the question...
    heh, my comment was meant to WattsTech, 'cause he's been posting comments all over the forum, which don't make any sense
    K i n g s

  7. #7

    Thread Starter
    Addicted Member Michael Woolsey's Avatar
    Join Date
    Nov 2000
    Location
    Calgary, Alberta, Canada.
    Posts
    243
    Heh sorry bout that. I get a little testy when people accuse me of something as stupid as spamming.

    Hmmmm, maybe I'll tell the tech to let me examine the two machines, see if I can find anything different.

    *Wanders off pondering IIS*
    Application/Web Developer

    Visual Basic 6.0 SP5
    Active Server Pages
    Oracle 9i
    - I'm going to live forever, or die trying!

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