473,587 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ 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 2241
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*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

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


"Oscar Onorato" <os**********@r esponderAlNewsh otmail.com> wrote in message news:Oe******** ******@TK2MSFTN GP09.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="tru e" ... />

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**********@r esponderAlNewsh otmail.com> wrote in message news:Oe******** ******@TK2MSFTN GP09.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**********@r esponderAlNewsh otmail.com> wrote in message
news:Oe******** ******@TK2MSFTN GP09.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.c o.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**********@r esponderAlNewsh otmail.com> wrote in message
news:Oe******** ******@TK2MSFTN GP09.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
3454
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 details. I have nav Link buttons that allow you to go to previous or next object from the object list on previous page. In the command event of the...
1
4132
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 CGI or using cookies? Say I have in page1.html: <input name="field1" value="default1"/> When a user fills field1 with "uservalue1", submits the...
5
5145
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. In other words, different web servers may serve different requests in the SAME session. In non-mobile ASP.NET, my understanding is that the view...
9
5299
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 copy paste (I hear this will improve in ASP.Net 2 via master pages). When I navigate from one page to the next the header and footer user controls...
5
1967
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 class. Looking on the internet, one solution posted was populating Session in Session_Start in a global.asax file. Again, on postback, the value is
18
3425
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 File-New-Window creates an instance of IE in the same process with the same SessionID as the parent window is in big trouble. This fundamentally restricts...
11
7900
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 applications. As far as I can see, the Session approach is non-standard since Web Services are supposed to be agnostic with respect to their clients. It...
11
3631
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 method has the WebMethodAttribute.EnableSession set to true. When I run the test page the session is maintained. However, using a console...
2
4998
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 web.config 3. Yes, I tried IE - Tools - Privacy - Accept All Cookies and also Override automatic cookie handling, Always allow session cookes
0
7843
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...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
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...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6619
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
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...
0
5392
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...
0
3840
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...
1
1452
muto222
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.