R
Ronald
Hi there!
I have a website partly written in ASP in where a shoppingbasket is used.
The products of the shoppingbasket are stored in the session-object. (We
use IIS6 on Windows 2003). This was working well for a couple of days. But,
after a while everytime I reload the shoppingbasket I see different products
which I've never added. So it seems like I'm seeing the basket of another
customer.
As it seemed IIS was 'sharing' sessions between different users I created
this little testcode:
---------------
if Session("P")="" then
Session("P") = 1
else
Session("P") = Session("P")+1
end if
Response.Write "*" & Session("P") & "*" & Session.SessionID
---------------
It should return always an iterating numer (1 , 2 3, etc etc). But sometimes
incosistent it jumps back to a previous number or starts at 1 and after a
while jumpe back to for example 365.
As I never experienced this behavior before I tried the same on Windows 2000
(IIS5). Both the testscript and the shoppingbasket are working correctly. So
It seems there is a bug in IIS6 or there there is something mis-configured.
What am I doing wrong here?
Regards,
Ronald
I have a website partly written in ASP in where a shoppingbasket is used.
The products of the shoppingbasket are stored in the session-object. (We
use IIS6 on Windows 2003). This was working well for a couple of days. But,
after a while everytime I reload the shoppingbasket I see different products
which I've never added. So it seems like I'm seeing the basket of another
customer.
As it seemed IIS was 'sharing' sessions between different users I created
this little testcode:
---------------
if Session("P")="" then
Session("P") = 1
else
Session("P") = Session("P")+1
end if
Response.Write "*" & Session("P") & "*" & Session.SessionID
---------------
It should return always an iterating numer (1 , 2 3, etc etc). But sometimes
incosistent it jumps back to a previous number or starts at 1 and after a
while jumpe back to for example 365.
As I never experienced this behavior before I tried the same on Windows 2000
(IIS5). Both the testscript and the shoppingbasket are working correctly. So
It seems there is a bug in IIS6 or there there is something mis-configured.
What am I doing wrong here?
Regards,
Ronald