473,783 Members | 2,564 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RAM based cookies

I'm told that ram based cookies refer to session cookies (which the browser
may still store on disk if it likes). These cookies that are destroyed when
the bowser exits.

If they are "session cookies", and we have disabled the use of session
because we have clustered web servers and do not want to store session state
elsewhere due to performance concerns, does that prohibit the use of these
session cookies altogether? Or is the information still stored client side,
allowing the use of the cookie on our clustered web servers?

Thanks in advance.

Mark
Dec 15 '05 #1
3 1619
Why would performance issues prohibit the use of Session Cookies? The only
thing stored in a Session Cookie is the Session ID. The Session *data* is in
memory on the web server.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Mark" <ma**@nojunkmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I'm told that ram based cookies refer to session cookies (which the
browser may still store on disk if it likes). These cookies that are
destroyed when the bowser exits.

If they are "session cookies", and we have disabled the use of session
because we have clustered web servers and do not want to store session
state elsewhere due to performance concerns, does that prohibit the use of
these session cookies altogether? Or is the information still stored
client side, allowing the use of the cookie on our clustered web servers?

Thanks in advance.

Mark

Dec 15 '05 #2
We do not want to store our session data in SQL Server or a State Server due
to performance implications, both valid session options aside from INPROC.
Performance is a factor because of the need for ASP.NET/IIS to call SQL
Server/StateServer to store/retrieve session information. Inproc won't work
in a cluster because your session technically moves from one server to
another within the cluster, and the INPROC session does not follow.

Going back to my question - If ... we have disabled the use of session
because we have clustered web servers and do not want to store session state
elsewhere due to performance concerns, does that prohibit the use of these
session cookies altogether?

Thanks again.

Mark

"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:uF******** ******@tk2msftn gp13.phx.gbl...
Why would performance issues prohibit the use of Session Cookies? The only
thing stored in a Session Cookie is the Session ID. The Session *data* is
in memory on the web server.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Mark" <ma**@nojunkmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I'm told that ram based cookies refer to session cookies (which the
browser may still store on disk if it likes). These cookies that are
destroyed when the bowser exits.

If they are "session cookies", and we have disabled the use of session
because we have clustered web servers and do not want to store session
state elsewhere due to performance concerns, does that prohibit the use
of these session cookies altogether? Or is the information still stored
client side, allowing the use of the cookie on our clustered web servers?

Thanks in advance.

Mark


Dec 15 '05 #3
Well, Mark, you've pretty much ruled out all of the alternatives.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Mark" <ma**@nojunkmai l.com> wrote in message
news:e0******** ******@TK2MSFTN GP12.phx.gbl...
We do not want to store our session data in SQL Server or a State Server
due to performance implications, both valid session options aside from
INPROC. Performance is a factor because of the need for ASP.NET/IIS to
call SQL Server/StateServer to store/retrieve session information. Inproc
won't work in a cluster because your session technically moves from one
server to another within the cluster, and the INPROC session does not
follow.

Going back to my question - If ... we have disabled the use of session
because we have clustered web servers and do not want to store session
state elsewhere due to performance concerns, does that prohibit the use of
these session cookies altogether?

Thanks again.

Mark

"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:uF******** ******@tk2msftn gp13.phx.gbl...
Why would performance issues prohibit the use of Session Cookies? The
only thing stored in a Session Cookie is the Session ID. The Session
*data* is in memory on the web server.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Mark" <ma**@nojunkmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
I'm told that ram based cookies refer to session cookies (which the
browser may still store on disk if it likes). These cookies that are
destroyed when the bowser exits.

If they are "session cookies", and we have disabled the use of session
because we have clustered web servers and do not want to store session
state elsewhere due to performance concerns, does that prohibit the use
of these session cookies altogether? Or is the information still stored
client side, allowing the use of the cookie on our clustered web
servers?

Thanks in advance.

Mark



Dec 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
28688
by: deko | last post by:
I have a page that I don't want anyone to be able to link directly to. The page should only be accessed from gatepage.php. I tried this code, but keep getting errors - "header info already sent", or something like that... Am I missing something, or is there a better way to do this? <?php $ref = $_SERVER; //echo $ref; if ( $ref == 'http://www.mydomain.com/gatepage.php' ) {
4
3884
by: Brian Burgess | last post by:
Hi all, Anyone know of any special issues with storing cookies with ASP? I'm trying this with two browsers: One is IE 6.0 with cookies set to 'prompt'. This has been working properly as any new site I goto seems to prompt me to store their cookie. The other is Pocket IE on Pocket PC 2002, with the cookies set to 'enabled'. My problem is that the cookies dont seem to be being written with my ASP. I dont get the prompt to store...
20
3558
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
6
3058
by: Mark | last post by:
Hi... I've come across some weird bug with Response.Cookies. Or maybe it will be called "by design" but for the life of me I can't figure out what purpose it would serve. If you're setting a cookie (say Response.Cookies ("TEST")) and you have a query string variable &test=x or &Test=x and you get Request.QueryString to parse the query string, the cookie that gets dropped matches the case of the query string, not what your code says. ...
11
1187
by: Mark | last post by:
We use cookies to maintain some state information about a users session. They are not file based due to the fact that we don't specify a expiration date. They go away when the session ends. I know it's possible to modify a file based cookie. However, what would it take for a hacker that did not have access to our web server to modify the value of a ram based client cookie that we're creating below? I'm not concerned about someone reading...
6
8853
by: Stephane | last post by:
Hi, I have a login page where if the user wants his access codes to be saved are set into a cookie. In the logout page, I want to delete those cookies. I tried this and this is not working at all: if (Request.Cookies != null && Request.Cookies != null) { Response.Cookies.Value = null;
5
1937
by: Archer | last post by:
I was making a role-based authentication but it does't login with correct password. the HttpContext.Current.User recieved in Global.asax is always null. Request.IsAuthenticated is always false. in the cs files, i write the code below protected void SubmitBtn_Click(Object sender, EventArgs e) {
1
240
by: Mark | last post by:
It's my understanding that there are two types of cookies that can be created in an ASP.NET web application: 1. File based cookies that persist on the hard drive 2. RAM based cookies If a client browser has cookies disabled, are both disabled, or do RAM based cookies still work? Thanks in advance.
1
1369
by: schwooba | last post by:
Hello...I have an html form with radio and select controls that I want to email to a user but can't quite grasp the way I should set this up. If someone selects "a" and "milk" I want it to email abc. If they select "a" and "cookies" it should go to xyz. Any help would be appreciated. input type="radio" name="type" value="a" input type="radio" name="type" value="b" input type="radio" name="type" value="c"
43
3436
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.