ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 15th, 2003, 06:10 AM
sijobi1 sijobi1 is offline
-doh!-
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 1 sijobi1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation ASP Session probs with IIS5

Hi

I've been trying to discover different ways of simulating the APS Session Object. Some users of site's I've made can't shop online due mainly to the fact that don't want to enable Cookies or their firewall is blocking Session Cookies.

Does anyone have a robust solution other than using a database and passing a user Id around every page???? or of course migrating to ASPX...

I did find Mircosft's 'Cookie Munger' which came with IIS 4 Resouce Kit. It was installed on IIS5 yesterday and strange things have now started happening. Does anyone have any documentation on this ISAPI Filter. the first error messages on all .asp pages were "Requested Resources is in use"???? Checking the Cache ISAPI Filters option in IIS configuration sorted this but now when I try to log in to one of my sites which uses the Session Object and I have All cookies blocked etc in my browser. I get the following:

Object Moved
This object may be found here. HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Tue, 15 Apr 2003 10:35:28 GMT Content-Type: text/html Expires: Tue, 15 Apr 2003 10:34:28 GMT Set-Cookie: ASPSESSIONIDSCDCSDRB=KMICKDMAANPJKFHMLGFDGPCB; path=/ Cache-control: private


Cookie Munger is meant? to simulate giving the client a Session ID when they have Cookies disbaled? Has anyone experienced similar problems?

I've trawled the web high and low for any discussions on Simulating Sessions but haven't found anything.

Any ideas/help would be greatly received.
Thanks

Reply With Quote
  #2  
Old April 15th, 2003, 02:09 PM
defjamninja defjamninja is offline
Overly white
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Fresno, CA
Posts: 83 defjamninja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Well if you can't use cookies and you can't use sessions then you have to pass the userID around in the URL. I guess you could generate a case sensitive random number and letter string of say 50 characters store it in your database as a temp userID everytime a user logs in then pass that around in the url. Then use that ID to pull up any information on the user, this would keep the real userId from ever being shown or would lower the odds of anyone ever guessing a valid ID very low. Also you may want to have a field that stores the date that way a temp id can only be valid for 1 day, if someone tries to browse with that ID after the date they will be forced to login in again.

Does that make any sense at all?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > ASP Session probs with IIS5


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway