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

setting session cookie's properties

P: n/a
I want to set the asp session id path property.
how can I do that?

I mean, asp session id is stored in a cookie and like any other cookie
it should have properties (or attributes), how can I control it?

Yossi.
Jul 22 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Are you talking about cookies (stored on the visitors computer), or
"session" cookies (stored in the servers memory)?

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Yossi" <yo***@pansw.com> wrote in message
news:e5*************************@posting.google.co m...
I want to set the asp session id path property.
how can I do that?

I mean, asp session id is stored in a cookie and like any other cookie
it should have properties (or attributes), how can I control it?

Yossi.

Jul 22 '05 #2

P: n/a
Steven Burn wrote on 21 nov 2004 in
microsoft.public.inetserver.asp.general:
Are you talking about cookies (stored on the visitors computer), or
"session" cookies (stored in the servers memory)?


Not quite.

Session cookies, like all cookies, are stored at the client.

A session cookie [= a cookie, set without explicit expiration] expires when
the connecion is lost, if the browser behaves as intended. Some call it a
ram-cookie, because it is not stored on the client's hard disk.

A session variable [did you mean that?] however is stored on the server and
is kept till the session is timed out or abandoned. However a session is
only viable while and if the client keeps the session-id cookie, which to
the client is a normal session cookie [see above].
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 22 '05 #3

P: n/a
Cheers for the correction Evertjan ;o) (and yep, I meant session variables
(gotten used to calling them session cookies for some reason).

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Steven Burn wrote on 21 nov 2004 in
microsoft.public.inetserver.asp.general:
Are you talking about cookies (stored on the visitors computer), or
"session" cookies (stored in the servers memory)?
Not quite.

Session cookies, like all cookies, are stored at the client.

A session cookie [= a cookie, set without explicit expiration] expires

when the connecion is lost, if the browser behaves as intended. Some call it a
ram-cookie, because it is not stored on the client's hard disk.

A session variable [did you mean that?] however is stored on the server and is kept till the session is timed out or abandoned. However a session is
only viable while and if the client keeps the session-id cookie, which to
the client is a normal session cookie [see above].
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 22 '05 #4

P: n/a
Hi guys,

I was talking about the session id, which is stored as a cookie.

I cannot control the value of the session id (and I do not want to do
so) but I want to control it's attributes.

Can I do that?


"Steven Burn" <pv*@noyb.com> wrote in message news:<uP**************@TK2MSFTNGP09.phx.gbl>...
Cheers for the correction Evertjan ;o) (and yep, I meant session variables
(gotten used to calling them session cookies for some reason).

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Steven Burn wrote on 21 nov 2004 in
microsoft.public.inetserver.asp.general:
Are you talking about cookies (stored on the visitors computer), or
"session" cookies (stored in the servers memory)?


Not quite.

Session cookies, like all cookies, are stored at the client.

A session cookie [= a cookie, set without explicit expiration] expires

when
the connecion is lost, if the browser behaves as intended. Some call it a
ram-cookie, because it is not stored on the client's hard disk.

A session variable [did you mean that?] however is stored on the server

and
is kept till the session is timed out or abandoned. However a session is
only viable while and if the client keeps the session-id cookie, which to
the client is a normal session cookie [see above].
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 22 '05 #5

P: n/a
Yossi wrote:
I was talking about the session id, which is stored as a cookie.

I cannot control the value of the session id (and I do not want to do
so) but I want to control it's attributes.


Any cookie can be tweaked on the client side. Assuming you can consistently
identify the ASP session cookie, what advantage does controlling give you,
beyond persistence?

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 22 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.