By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,327 Members | 2,661 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,327 IT Pros & Developers. It's quick & easy.

sessionState and cookies

P: n/a
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"
cookieless="true"
timeout="20"
/>

Do I just stick with this?

Cheers,

Mike

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Mike,

You can still use cookies if you have cookieless set to true. Cookieless
just means that the session state is not maintianed using cookies (but
instead with a URL: http://yourdomain.com/(23jvd93Vadf)/yourpage.aspx).

-- Alex Papadimoulis

"mike parr" <mp********@yahoo.co.uk> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
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"
cookieless="true"
timeout="20"
/>

Do I just stick with this?

Cheers,

Mike

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #2

P: n/a
Does this mean that with cookieless="true" I can read and write cookies
without the user having to have cookies enabled on their machine?
Mike

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.