473,387 Members | 1,771 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,387 software developers and data experts.

sessionState cookieless and forms cookieless

<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="30"
cookieless="AutoDetect" />
</authentication>

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

Now however I want to support session state on the SQL server
<!--<sessionState mode="SQLServer"
stateConnectionString="tcpip=127.0.0.1:55455" sqlConnectionString="data
source=127.0.0.1;user id=sa;password=''" cookieless="Autodetect"
timeout="20"/>-->

here i am a little confused, would cookieless="UseDeviceProfile" 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 4358
> here i am a little confused, would cookieless="UseDeviceProfile" be
(faster)?
Does the setting of cookieless here take precedence or does the form
authentication take precedence?


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

UseDeviceProfile 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 FormsAuthentication 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
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...
3
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....
3
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...
3
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...
2
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...
0
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...
2
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...
0
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. ...
2
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"...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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,...

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.