473,763 Members | 5,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sessionState cookieless and forms cookieless

<authenticati on mode="Forms">
<forms loginUrl="Login .aspx"
protection="All "
timeout="30"
cookieless="Aut oDetect" />
</authentication>

Over here we can specify cookiless to be auto detect so it uses cookies
if the client supports it or URL mangling(mungin g) if it doesnt.

Now however I want to support session state on the SQL server
<!--<sessionState mode="SQLServer "
stateConnection String="tcpip=1 27.0.0.1:55455" sqlConnectionSt ring="data
source=127.0.0. 1;user id=sa;password= ''" cookieless="Aut odetect"
timeout="20"/>-->

here i am a little confused, would cookieless="Use DeviceProfile" be
(faster)?
Does the setting of cookieless here take precedence or does the form
authentication take precedence?
Thoughts.

Thanks

-Ravi Singh

May 5 '06 #1
2 4385
> here i am a little confused, would cookieless="Use DeviceProfile" be
(faster)?
Does the setting of cookieless here take precedence or does the form
authentication take precedence?


FormsAuthentica tion and SessionState use different cookies. Those are two
features that are independant of one another. IOW, a Session != an Authenticated
user.

UseDeviceProfil e just means that you can choose to issue a cookie or use
UrlMangling depending upon the device type, not dynamically based upon whether
they're enabled cookies.

-Brock
http://staff.develop.com/ballen
May 6 '06 #2
Hey Brock thanks for replying,

Would it make sense to force cookies in one and not in the other.
Dosent FormsAuthentica tion also emply URLmangling like Session?

Thanks

-Ravi.

May 10 '06 #3

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

Similar topics

3
3537
by: Scott | last post by:
Hello, we are having problems displaying non-aspx files (images, style sheets) since we have upgraded to the 1.1 framework when using a cookieless session (sessionID in the url). Check out our file system set up below. Now, in an aspx page, we set as the "src" of our images something like "../images/animage.jpg". If the current actual url in the browser is something like http://server/webapp/(someSessionID)/forms/form1.aspx
3
2749
by: Morten H. | last post by:
Hey, I have a problem on my server. WHen I activate cookieless sessionstate I can only execute aspx pages. When the server tries to find an image in a subfolder eg. http://mysite/(gklffgfgdsg85t6583)/image/top.gif its not found. The same goes for javascripts ect. if I remove the sessionid (http://mysite/image/top.gif) the image is found as usual. This is only a problem on one of our servers, and I suspect that an update has caused...
3
2380
by: Kenny | last post by:
Hi , I have created two Web Application - WebApplication1 and WebApplication2 in same machine for testing purpose. e.g http://localhost/WebApplication1.aspx http://localhost/WebApplication2.aspx I have this setup for both WebApplication's Web.Config <sessionState mode="SQLServer" stateConnectionString="tcpip=127.0.0.1:42424"
3
4563
by: Carpe Diem | last post by:
Hello I have an aspx page that loses Session("user") value after a few minutes even after I set <sessionState mode="InProc" cookieless="false" timeout="300"> in web.config and wrote function Session_Start() { Session.Timeout = 3000; } in global.asax
2
1265
by: mike parr | last post by:
I want to use cookies on my website, simply to identify the user when they come to my website (I will just be writing one for new users and reading from people who are already users when they reach my home page). Do I need to put cookieless="false" in my web.config sessionState tag, or does it not matter (I usually use cookieless="true", but I never read or write cookies). This is my usual sessionState : <sessionState mode="InProc"...
0
972
by: Phl | last post by:
Hi, I am having some problems hosting my website. Everything works fine in my local machine but when I upload to propduction server, my images somethimes won't load properly. I have my state configuration like this in my web.config: <sessionState mode="SQLServer"
2
7009
by: Water Cooler v2 | last post by:
What do you mean by a cookieless session state? When you set the sessionState section's cookieless attribute to true in the web.config file, what does that mean? I read this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfSessionstateSection.asp) and it does not explain the meaning of cookieless.
0
1000
by: Mr Ideas Man | last post by:
Hi all, Relating to a post i made earlier... I am deploying a asp.net app to my web host. They assure me that the directory i am copying my files to is configured as an IIS Application. I keep getting this ERROR:
2
2397
by: =?Utf-8?B?U3Bpcml0RmxhZw==?= | last post by:
I want to configure different sessionState on different subdirectory,so I wote this code in wen.config file: <location path="SubInProc"> <system.web> <sessionState mode="InProc" cookieless="AutoDetect" timeout="20"/> </system.web> </location> <location path="SubSQLServer"> <system.web> <sessionState mode="SQLServer" cookieless="false" timeout="20"
0
9386
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
10144
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...
0
9822
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
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
6642
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
5270
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
3917
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
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
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.