473,387 Members | 1,504 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.

asp cookieless session URL munger??

I have a small ASP site running, which uses Session Cookies to support
Session state.

I'm being asked to get rid of the dependancy on the availability of
session cookies.

I know there'd been an ISAPI filter around that would put the session
variable into the URL and links (what asp.net does to get cookieless
sessions), but can't find any mention of it right now (when I need it!).

1) Has anyone heard of this kind of add-on, and

2) Should I just bite the bullet and pass my own session id around keep
my own session data??

-- Thanks
Jul 19 '05 #1
2 1840
Hi Chris,

Thank you for using MSDN Newsgroup. I am Luke and I am review this issue
currently. From the description, you want remove the dependency on session
cookies in your ASP application.

ASP Session is cookies based. If we use ASP Session object, the browser
must be configured to receive cookies. Without cookies, we have to create
customized components to contro the session. A ways is as you state: ISAPI
filter. I remmeber the IIS 4.0 Resource Kit provided a similar feature. It
was implemented as an ISAPI filter that could modify the incoming and
outgoing byte stream to write and read the necessary information. For later
version of IIS, we may need to resort some third party products.

Another way to pass session ID without cookie is with hidden iput field.
You may refer to following article:

http://www.tizac.com/tzsessions/

Hope this help,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no

rights.)

Jul 19 '05 #2
The filter was called Cookie Munger. As I understand it, it did work but had
several drawbacks.

1. performance
The way it worked was to scan outgoing HTML content for links to ASP pages
and modify them to include the session cookie as part of the URL. On
incoming requests the URL was examined and the session cookie was added back
to the HTTP header. Incoming was not to bad but outgoing meant that every
page had to be parsed.

2. might not get every link
If you used JavaScript code to redirect the browser anywhere (as in
self.location=...) then you would not get a session cookie.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Chris" <ch***@hicom.net> wrote in message
news:kN*********************@news4.srv.hcvlny.cv.n et...
I have a small ASP site running, which uses Session Cookies to support
Session state.

I'm being asked to get rid of the dependancy on the availability of
session cookies.

I know there'd been an ISAPI filter around that would put the session
variable into the URL and links (what asp.net does to get cookieless
sessions), but can't find any mention of it right now (when I need it!).

1) Has anyone heard of this kind of add-on, and

2) Should I just bite the bullet and pass my own session id around keep
my own session data??

-- Thanks

Jul 19 '05 #3

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

Similar topics

6
by: JJ | last post by:
Hi, I really need to use cookieless ASP sessions with ASP 3 (IIS5) Can I find out the session ID from the first page, then post it or send it with the url to the next page, then at the start...
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...
10
by: Anthony Williams | last post by:
Hi gang, This one looks like a bug :o( As you may or may not know, setting session management in web.config to use cookieless sessions causes the ASP.NET runtime to munge a session ID into...
4
by: Bernie Raffe | last post by:
When I change the 'cookieless' flag in the WebConfig file to true, everything works fine on my local PC, but the images fail to appear when using the remote server. I specify my images...
2
by: Daniel Malcolm | last post by:
Hi I just wanted to confirm that the "cookieless" attribute of the session section of the web.config file is an "all or nothing" setting. For some reason I thought that the following was the...
4
by: Jake | last post by:
Does cookieless session state (with the sessionid embedded into the url) interfere with the browser's retrieval of cached images from one session to the next? Does the sessionid embedded into the...
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...
1
by: Mark Olbert | last post by:
I'm building an ASPNET2 website which uses forms authentication but does not use the Microsoft-supplied membership providers (mostly because I don't want to create my own provider at this point, and...
3
by: =?Utf-8?B?bWdvcHBlcnQ=?= | last post by:
I'm having an issue with using web services in a web application marked with session cookieless attribuet set to "AutoDetect". My real life scenario is too complex to lay out but here's my...
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:
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...
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...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.