473,466 Members | 1,363 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Permanent session

What is the best method to use so that user sessions remain active unless he
either logs off, or closes his browser? I see many sites that have this
functionality, and it's more user-friendly to me.

If storing sessions InProc, obviously each active session would take up RAM.
And if this is stored indefinitely, that would be trouble. So, how can this
be done?

I'm guessing the way would be to store the session in the SQL Server, and
with each client access to the site, their session (from cookie) would be
checked against the value in the database. However wouldn't this be quite a
bit of overhead, and require recoding on all pages?
Jul 21 '05 #1
0 1085

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

Similar topics

1
by: john_pongo | last post by:
Greetings esteemed peers & colleagues, I've downloaded & installed (full) IBM's Websphere App Developer 5 IDE trialware. Now my company has purchased the product, and I'm wondering if it's...
3
by: William Tasso | last post by:
Greetings one and all I've just taken over a site and I'm changing the files from .htm to .asp. What's considered the best practice method of indicating the source of the new document? ...
6
by: CFW | last post by:
References in Access and .mdb files have always been painful for me - just when I thought I was OK in an .mdb, I have a .adp I'm working on and I need to use Set db as CurrentDb - Constant "object...
3
by: Raghu Raman | last post by:
Hi, I want to store a cookie peemanently for 2 days.From msdn article, i have coded like this.It is working when i run my application .But if i close my browser and restart my application , i...
0
by: Shabam | last post by:
What is the best method to use so that user sessions remain active unless he either logs off, or closes his browser? I see many sites that have this functionality, and it's more user-friendly to...
1
by: Ismail Demiralp | last post by:
Hi, I want to open a permanent socket connection to a service witch is running on the same computer. After I logged in on my php page, I start a session. After this a socket connection should...
4
by: nunnasujatha | last post by:
Hi all, i ve tried to convert a permanent tablespace to temporary. for this i 've used alter tablespace test_per_ts temporary; ERROR:invalid option for create/alter tablespace. ...
4
by: Jurgen Haan | last post by:
Hi hi everyone. We have upgraded our DB2 LUW 8.2.1 which was directly installed from our DB2 CD's to DB2 LUW 8.2.6 (FP13). (system: HP DL385 (AMD64), single socket, dual core. 8GB memory. SLES...
1
by: patrickdrd | last post by:
Hi all! Does anyone know of a way to keep a permanent url throughout a user's browsing? For example, if my web site's address is http://www.mysite.com, I have noticed that some sites keep that...
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
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...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.