473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Server Speed with Sessions

TheServant
1,168 Expert 1GB
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
4 1049
Markus
6,050 Expert 4TB
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
1,168 Expert 1GB
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
6,050 Expert 4TB
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
1,168 Expert 1GB
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

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

Similar topics

6
by: Hasan Ceylan | last post by:
Hi Everyone, Recently we have started to have performance problems on our server which has the following configuration: Win 2K IIS 5 php The traffic to our web site is on normal time 300...
4
by: C P | last post by:
I've seen references to using an out of process state server in cases where you need to maintain session state in a web server farm. I think SQL Server will be too slow to manage the state that I...
4
by: Michał Januszczyk | last post by:
What may be the reason for the following behavior: There is an asp.net application. The application is quite complex. Sometimes user request processing lasts long (even 1 ). When user...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
9
by: AndersBj | last post by:
Hi all, I have a web application that uses State Server for session handling. The web application randomly loses all session variables. The sessions are not always lost, sometimes I can use the...
1
by: peter.fredrikson | last post by:
Hi, I have a web server application (C#) which I would like to speed up a little. I would appriciate a discussion of design principles for a specific optimization scenario described below. My...
2
by: JoeSep | last post by:
Hello, I know that when the SessionState is set to SQL Server (ASP.NET 1.1) these counters in PerfMon are not valued: - Sessions Abandoned - Sessions Active - Sessions Timed Out - Sessions...
13
by: Eric Layman | last post by:
Hi everyone, Will clustering of webservers affect SESSION states? Is there a dotnet term for the above mentioned scenario? Pls advise. Thanks.
1
by: Jean-Paul Calderone | last post by:
On Fri, 21 Nov 2008 00:20:49 -0200, Gabriel Genellina <gagsl-py2@yahoo.com.arwrote: If you want to try this program out on POSIX, make sure you change the time.clock() calls to time.time() calls...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.