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

ASP.NET 2.0 Session Cookie

Hi,

Kindly clarify the followings;

1. Is the session cookie & FormsAuthenticationTicket cookie Interdependent?

2. When a new SessionID is generated, I have noticed the Session Cookie and
the FormsAuthentication cookie are binded.

3. I need to know whether it's possible by Code or settings to treat the
Session Cookie & the FormsAuthentication Cookie as different?

4. The problem I'm facing is that, when a SessionID is alloted by the Web
Server, the FormsAuthentication Cookie is binded with the Session till the
session dies?

Thanks,

Ibrahim.



Jun 15 '06 #1
4 1681
What do you want?

End session, but not auth ticket? Make it persist.
End ticket, but not session? Fine, can be done in code the opposite of
setting up the ticket. Once "expired", it is gone.

Does that help?

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"Ibrahim." <Ib*****@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
Hi,

Kindly clarify the followings;

1. Is the session cookie & FormsAuthenticationTicket cookie
Interdependent?

2. When a new SessionID is generated, I have noticed the Session Cookie
and
the FormsAuthentication cookie are binded.

3. I need to know whether it's possible by Code or settings to treat the
Session Cookie & the FormsAuthentication Cookie as different?

4. The problem I'm facing is that, when a SessionID is alloted by the Web
Server, the FormsAuthentication Cookie is binded with the Session till the
session dies?

Thanks,

Ibrahim.


Jun 16 '06 #2
Hi,

It really does'nt help..

The problem I'm facing is that, when a SessionID is alloted by the Web
Server, the FormsAuthentication Cookie is binded with the Session till the
session dies?

Yours thoughts?
"Cowboy (Gregory A. Beamer)" wrote:
What do you want?

End session, but not auth ticket? Make it persist.
End ticket, but not session? Fine, can be done in code the opposite of
setting up the ticket. Once "expired", it is gone.

Does that help?

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"Ibrahim." <Ib*****@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
Hi,

Kindly clarify the followings;

1. Is the session cookie & FormsAuthenticationTicket cookie
Interdependent?

2. When a new SessionID is generated, I have noticed the Session Cookie
and
the FormsAuthentication cookie are binded.

3. I need to know whether it's possible by Code or settings to treat the
Session Cookie & the FormsAuthentication Cookie as different?

4. The problem I'm facing is that, when a SessionID is alloted by the Web
Server, the FormsAuthentication Cookie is binded with the Session till the
session dies?

Thanks,

Ibrahim.



Jun 16 '06 #3
> 1. Is the session cookie & FormsAuthenticationTicket cookie
Interdependent?
No. These are 2 different features and each one uses a seperate cookie.
2. When a new SessionID is generated, I have noticed the Session
Cookie and the FormsAuthentication cookie are binded.
In what way? What do you mean?
3. I need to know whether it's possible by Code or settings to treat
the Session Cookie & the FormsAuthentication Cookie as different?
They are different.
4. The problem I'm facing is that, when a SessionID is alloted by the
Web Server, the FormsAuthentication Cookie is binded with the Session
till the session dies?


The timeouts are different. <sessionState> is configured differently than
<authentication><forms /></authentication>.

-Brock
http://staff.develop.com/ballen
Jun 17 '06 #4
Hello Allen,

Thanks for your inputs & answers. I think you are quite right, the problem
which I listed down were connected to improper cache settings.

Thanks
"Brock Allen" wrote:
1. Is the session cookie & FormsAuthenticationTicket cookie
Interdependent?


No. These are 2 different features and each one uses a seperate cookie.
2. When a new SessionID is generated, I have noticed the Session
Cookie and the FormsAuthentication cookie are binded.


In what way? What do you mean?
3. I need to know whether it's possible by Code or settings to treat
the Session Cookie & the FormsAuthentication Cookie as different?


They are different.
4. The problem I'm facing is that, when a SessionID is alloted by the
Web Server, the FormsAuthentication Cookie is binded with the Session
till the session dies?


The timeouts are different. <sessionState> is configured differently than
<authentication><forms /></authentication>.

-Brock
http://staff.develop.com/ballen

Jun 20 '06 #5

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

Similar topics

27
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate...
2
by: Amit D.Shinde | last post by:
Hello Experts.. I need some help regarding cookies and session objects and also global.asa file I am creating one cookie when a user logs in on my website. The cookie stores the login name of...
3
by: M Wells | last post by:
Hi All, Just wondering how you go about changing the value of a session cookie via javascript? I have a PHP page that sets a session cookie when it first loads. I'd like to be able to change...
4
by: Chris | last post by:
When a request comes into a page on my ASP.net site and a session is not found, I want to detect whether the request is an initial request or if the user did have a session going that has now been...
5
by: Åženol Akbulak | last post by:
Hello; I use in my web application FormsAuthentication. Also I use Session state (InProc). When a user logged in, I can read Session parameters. (For example Session). Problem is that, when...
13
by: Goofy | last post by:
Does anyone know how I can kill a session by session ID ? -- Goofy
4
by: rgparkins | last post by:
Hello I am running out of time with a problem I have running PHP 5.04 and Apache 2.0 and really need help :(. I have a page that stores a variable in session but each time I reload that page the...
2
by: Gordon Burditt | last post by:
I had this idea about preventing session fixation, and I'm wondering what anyone else thinks about it. The idea is, essentially, don't allow session ids that YOUR PHP didn't generate (and aren't...
11
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...
9
by: Josh | last post by:
I run a Joomla website and am familiar with php in some but not all aspects. Currently I am trying to find some solutions related to session handling. Am I correct in saying that "login" is kept...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.