473,385 Members | 1,838 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.

How to save user's information across the whole web site?

Hi Guys.
I have a question about which is the best way to store user info across the
whole website. Now I have 3 web servers and each server has enabled the web
garden (6 wps). now I want to save the current user's detail across the
whole website without using session. I am considering saving in
HttpContext.Current.Items or NamedDataSlot in each thread. which one is more
reliable (or better) in this situation? Or any reference of the comparison
of these two?

Thank you.
Apr 4 '07 #1
1 1493
Victor,
First off I would comment that "WebGarden" probably isn't the correct
setting for a mulit-proc box that is supposed to be participating in a web
farm (more than one machine hosting the application).

You didn't specify "what kind of" user information you want to persist, but
in a mutiple- machine scenario, where any given request could land on any one
of your machines, you really only have 2 options:

1) ASP.NET StateServer service running on one of the boxes, with all three
boxes pointing to it's IP address.
2) SQL Server Session State, with all three boxes talking to the same SQL
Server.

You can find out how to set these up very easily by reading the ASP.NET
documentation.

But first, I would take care to ensure that what you quote as "WebGarden" is
cleared up.

Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Victor" wrote:
Hi Guys.
I have a question about which is the best way to store user info across the
whole website. Now I have 3 web servers and each server has enabled the web
garden (6 wps). now I want to save the current user's detail across the
whole website without using session. I am considering saving in
HttpContext.Current.Items or NamedDataSlot in each thread. which one is more
reliable (or better) in this situation? Or any reference of the comparison
of these two?

Thank you.
Apr 4 '07 #2

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

Similar topics

3
by: canigou9 (remove your socks to reply) | last post by:
(cross posted - comp.databases.ms-access, microsoft.public.access) Hello folks - this is my first post here, after a short lurk. I have written an application in Access2002 for a friend's...
1
by: Ani | last post by:
Hi, I need to carry the user input across pages and then at the end insert all the values into the DB. How do I best accomplish this task in ASP.Net. I am a novice , please give me some simple...
2
by: Morten | last post by:
Hi! I'm wondering what it is that makes IE prompt users to save user name and password. I have a web site coded in C#/.Net and part of it is protected by means of a form. When I key in user name...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
19
by: Siobhan | last post by:
Hi What is the recommended way to store a user's database credentials across the pages of a web application so that each time the database is accessed the system doesn't have to ask them for their...
22
by: Sandman | last post by:
So, I have this content management system I've developed myself. The system has a solid community part where members can register and then participate in forums, write weblogs and a ton of other...
15
by: =?Utf-8?B?QmVuamFtaW4gSmFuZWNrZQ==?= | last post by:
Hi, we're struggling with a strange session problem in an ASP.NET 2.0 application. The application is used by our customers to access customer-related information such as invoices over the...
6
by: Josetta | last post by:
Access 2003 I've been experiencing some problems with my "monster" database the last couple of days. I imported all objects into a new database yesterday, which pretty much stopped the crashing...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
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.