473,480 Members | 2,325 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How To maintain Session state without cookies

Hello colleagues:

Somebody know that good alternatives I have, in addition to the cookies, to maintain the session state?
Where an example of it can be seen?
Thanks






Agile Processes:

"Assume that the most important factor in a project's success is the quality of the people on the project and how well they work together in human terms.
Which process they use and which tools they use are strictly second-order effects."

Martin Fowler (Distilled UML Third Ed.)
Nov 18 '05 #1
4 2231
ASP.NET supports using SQL Server to maintain state when cookies
can not be used. Go to MSDN [1] and read documentation.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://msdn.microsoft.com/


"Oscar Onorato" <os**********@responderAlNewshotmail.com> wrote in message news:Oe**************@TK2MSFTNGP09.phx.gbl...
Hello colleagues:

Somebody know that good alternatives I have, in addition to the cookies, to maintain the session state?
Where an example of it can be seen?
Thanks






Agile Processes:

"Assume that the most important factor in a project's success is the quality of the people on the project and how well they work together in human terms.
Which process they use and which tools they use are strictly second-order effects."

Martin Fowler (Distilled UML Third Ed.)
Nov 18 '05 #2
The question is somewhat misleading. Session state is never stored in the cookie, only the sessionId which is used to retrieve the session state. Or alternatively, you could be telling us that you are using your own session managment classes and using cookies...

If the first case is true, and you simply don't want session Ids stored in cookies, you can simply go in your web.config, and set the <sessionState cookieless="true" ... />

If the second case is true, I'd suggest you use the built-in session capabilities of ASP.Net, and the link provided by clinton is a good place to start.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Oscar Onorato" <os**********@responderAlNewshotmail.com> wrote in message news:Oe**************@TK2MSFTNGP09.phx.gbl...
Hello colleagues:

Somebody know that good alternatives I have, in addition to the cookies, to maintain the session state?
Where an example of it can be seen?
Thanks






Agile Processes:

"Assume that the most important factor in a project's success is the quality of the people on the project and how well they work together in human terms.
Which process they use and which tools they use are strictly second-order effects."

Martin Fowler (Distilled UML Third Ed.)
Nov 18 '05 #3
Cookieless session is supporting in ASP.NET, you just need to set this
property "cookieless" in sessionstate section in web.config to true. For
more details, refer this link
http://msdn.microsoft.com/library/de...atesection.asp
--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Oscar Onorato" <os**********@responderAlNewshotmail.com> wrote in message
news:Oe**************@TK2MSFTNGP09.phx.gbl...
Hello colleagues:

Somebody know that good alternatives I have, in addition to the cookies, to
maintain the session state?
Where an example of it can be seen?
Thanks






Agile Processes:

"Assume that the most important factor in a project's success is the quality
of the people on the project and how well they work together in human terms.
Which process they use and which tools they use are strictly second-order
effects."

Martin Fowler (Distilled UML Third Ed.)
Nov 18 '05 #4
Thank you Saravana
"Saravana" <sa******@sct.co.in> escribió en el mensaje news:4z*****************@news.cpqcorp.net...
Cookieless session is supporting in ASP.NET, you just need to set this
property "cookieless" in sessionstate section in web.config to true. For
more details, refer this link
http://msdn.microsoft.com/library/de...atesection.asp
--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Oscar Onorato" <os**********@responderAlNewshotmail.com> wrote in message
news:Oe**************@TK2MSFTNGP09.phx.gbl...
Hello colleagues:

Somebody know that good alternatives I have, in addition to the cookies, to
maintain the session state?
Where an example of it can be seen?
Thanks






Agile Processes:

"Assume that the most important factor in a project's success is the quality
of the people on the project and how well they work together in human terms.
Which process they use and which tools they use are strictly second-order
effects."

Martin Fowler (Distilled UML Third Ed.)
Nov 18 '05 #5

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

Similar topics

3
3437
by: | last post by:
This is a very open ended question. I have an app with a page that uses link buttons to change the display. On the prior page you have a list of objects. You click one of those objects to see it's...
1
4111
by: Z. Majeed | last post by:
I have a static html page with a form. Is there a way to maintain the state of the form without using client-side scripting (no Javascript) or turning it into a dynamically-generated page using...
5
5143
by: Dominic | last post by:
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature....
9
5287
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
5
1958
by: Steven Blair | last post by:
I have the following code: Session = new CurrentUser("TEST"); When I postback to the server, the Session is null. My guess is a only the refence to my actual class is stored, rather than the...
18
3395
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
11
7880
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
11
3603
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each...
2
4990
by: StanB | last post by:
I came across this weird problem: 1. Session state stops working after the app is deployed to another server because IE does not accept cookies. 2. It works if cookieless="true" in the...
0
7051
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
7054
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
7097
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
6750
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
5353
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,...
1
4794
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...
0
4493
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...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
567
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.