Re: Life without session variables

From: Bullschmidt (paul_at_bullschmidt.com-nospam)
Date: 01/26/05


Date: Tue, 25 Jan 2005 20:53:02 -0800


<<
I've always used session cookies in my web sites. However, since more
and
more people (including me) are starting to disable cookies, I'm
beginning to
think that I should change my ways and design websites without the use
of
session cookies. I've never done it before, but I understand that we can
get around the use of session cookies either by writing data to a
database
or by passing data from one page to the next with hidden fields. Can
anyone
point me to a tutorial on "best practices" for how this is done?
>>

I believe that session variables can still be used even if a user has
disabled cookies and that is by long querystrings which are
automatically created.

But if you want to look into not using session variables here are a
couple resources:

Why won't my session variables stick?
http://www.aspfaq.com/show.asp?id=2157

Maintaining Session State - 9/20/1998
http://www.4guysfromrolla.com/webtech/092098-1.shtml

Pros and Cons of Session Variables - 9/20/1998
http://www.4guysfromrolla.com/webtech/092098-2.shtml

Forcing the Session to Close - 10/24/1998
http://www.4guysfromrolla.com/webtech/102498-3.shtml

Maintaining Persistent Information on the Web from the book Teach
Yourself Active Server Pages 3.0 in 21 Days Sample Chapter! by Web
masters Scott Mitchell and James Atkinson
http://www.asp101.com/articles/sample_chapters/sams_asp3in21/page1.asp

Design Strategies for Scalable Active Server Applications by Steve Kirk
MSDN Content Development Group 8/1997
http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/techart/msdn
_aspscale.htm

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

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



Relevant Pages

  • Re: Sessions, Cookies, DB, Form posts or all 4
    ... ..Should I simply set my Session timeout to a larger figure on entry to ... Assuming this is a low traffic site, ... some session variables especially for sites that are never expected to ... ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool... ...
    (microsoft.public.inetserver.asp.db)
  • Re: Global.asa not firing
    ... Make sure session cookies are enabled in your browser - Tools, ... Make sure you haven't disabled session state in Internet Services Manager, ... Open the Internet Services Manager MMC tool, ...
    (microsoft.public.inetserver.asp.general)
  • Re: Session Hijacking over HTTP
    ... How to protect yourself. ... The fact that each HTTP connection is a different IP session makes using ... To protect session cookies you can set the cookie property: ...
    (Pen-Test)
  • Re: Life without session variables
    ... > I've always used session cookies in my web sites. ... > Design Strategies for Scalable Active Server Applications by Steve Kirk ... > ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool... ...
    (microsoft.public.inetserver.asp.general)
  • Re: RAM based cookies
    ... > We do not want to store our session data in SQL Server or a State Server ... >> Why would performance issues prohibit the use of Session Cookies? ... >>> because we have clustered web servers and do not want to store session ...
    (microsoft.public.dotnet.framework.aspnet)