Session get lost when different page loading simultaneously taking place.
I did an e-commerce project by using WebSnap and Apache Server. Here I have a problem when I load different pages by clicking different links in one page immediately right after another clicking. From design point of view, I have one PageModule contains a TAdapter with a few actions. Each action relates to loading different web page dynamically. Since every page is displaying database related information, on PageModule.OnActivate event, I retrieve database path from a session. If each page loads slowly, it works fine. If I click links to each page simultaneously (as quick as I can), my session get lost at some point. As a result, I get database missing error. It seems the first page starts loading and the second page request to load in insensible time delay, since two pages request same session at same time, session get lost or can not be grabbed by second loading. Anyone experience with such kind of problem or any suggestions to fix this problem?
I did an e-commerce project by using WebSnap and Apache Server. Here I have a problem when I load different pages by clicking different links in one page immediately right after another clicking. From design point of view, I have one PageModule contains a TAdapter with a few actions. Each action relates to loading different web page dynamically. Since every page is displaying database related information, on PageModule.OnActivate event, I retrieve database path from a session. If each page loads slowly, it works fine. If I click links to each page simultaneously (as quick as I can), my session get lost at some point. As a result, I get database missing error. It seems the first page starts loading and the second page request to load in insensible time delay, since two pages request same session at same time, session get lost or can not be grabbed by second loading. Anyone experience with such kind of problem or any suggestions to fix this problem?