Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with WebSnap (Session lost when pages loading simultaneously)

Status
Not open for further replies.

quikstor

Programmer
Nov 22, 2005
1
US
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top