We help IT Professionals succeed at work.

How to handle sessions in a web farm with no cookies??

1,092 Views
Last Modified: 2013-11-07
I'm trying to figure the best way to handle sessions in an e-Commerce web farm environment. What my setup is that I have a website that connects to a remote ODBC server to grab data for the website. The shopping cart generates server side session files, no client cookies at all are being used. What is the best way to handle sessions in a web farm without using cookies at all? Is it possible to handle cookies with a database? In my server session files, I keep a lot of data on my users, so I can't image putting all this info into a database since there would be hundreds of records per user. The session table would also be hit tremendously so I'm weary about putting this load on the database server. How is this usually handled?

What I'm trying to do is have a farm of webservers with my website copied on all the boxes, then a load balancer on the front of the network would route to the least used server. This would be constantly happening, even in the middle of user's sessions, which is why I have to come up with something better than server side sessions residing on each webserver. Any ideas? I would greatly appreciate any help or feedback.
Comment
Watch Question

Systems Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.