|
-
Oct 2nd, 2002, 10:38 AM
#1
Thread Starter
Addicted Member
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:
<%
session.Abandon
Response.Redirect "../mysecuregienow/mainpage.asp"
%>
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!
-
Oct 5th, 2002, 05:27 PM
#2
Member
Are you the same gu who was spamming giga forums?
-
Oct 5th, 2002, 06:37 PM
#3
Thread Starter
Addicted Member
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!
-
Oct 6th, 2002, 04:56 AM
#4
Fanatic Member
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?
-
Oct 6th, 2002, 06:20 PM
#5
Thread Starter
Addicted Member
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!
-
Oct 7th, 2002, 01:42 AM
#6
Fanatic Member
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
-
Oct 7th, 2002, 10:38 AM
#7
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|