By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,614 Members | 1,680 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,614 IT Pros & Developers. It's quick & easy.

Server Speed with Sessions

TheServant
Expert 100+
P: 1,168
Hey Guys,
I have coded my site (not finished) using sessions, probably about 50-100 variables. Obviously, session variables are stored on the server side etc… My question is: Should I be using cookies (if they’re client side) or something else instead because I have so many variables? If I have 1000 users (or even more) online at once will it overload my server?

The Servant
Feb 19 '08 #1
Share this Question
Share on Google+
4 Replies


Markus
Expert 5K+
P: 6,050
It depends on what type of data you're using...

Does it need to be secure? If so, you be best of using sessions as they are harder to manipulate.
Feb 19 '08 #2

TheServant
Expert 100+
P: 1,168
Well basically it is user information for an online game. So I don't really want it to be changed, but it is not national security! But at the moment there is no encryption.
Feb 19 '08 #3

Markus
Expert 5K+
P: 6,050
Well basically it is user information for an online game. So I don't really want it to be changed, but it is not national security! But at the moment there is no encryption.
I'm no expert on the situation.. but i can't see cookies being any faster.

What if cookies are disabled?
Feb 19 '08 #4

TheServant
Expert 100+
P: 1,168
I am not sure, just getting opinions on what is the optimum set up for speed, if speed is even worth worrying about. It is possible that my site will be totally fine, but I just wanted to be prepared with some knowledge.
Feb 19 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.