Re: The concept of using your own SessionID

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Chris

Thanks for the response. OK, I may not have completely taken in what Aaron
is suggesting, but you can see it from my point of view can't you?

The site does appear to work OK, I just want to make sure that I'm using the
most cast iron approach I can when tracking state back and forth between the
http and https parts of the site.

Rgds Laphan


"Chris Hohmann" <nospam@xxxxxxxxxxxx> wrote in message
news:OL5lDHk2FHA.2600@xxxxxxxxxxxxxxxxxxxxxxx
"Laphan" <info@xxxxxxxxxxxxx> wrote in message
news:OS08I7h2FHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
> Hi All
>
> Just been looking through the excellent ASPFaq site and wanted to dissucss
> Aaron's (??) comments re better to create your own session ID rather than
> use ASP classic's in-built one and then use this through various posts and
> gets to keep the state.
>
> Only issue I've got with this is that won't this number, which to me looks
> like it will be sequential, be picked up by would-be hacker and used in
> his/her http pandemonium to try and hack other people's sessions. With
> them
> seeing it in the querystring and forms they will surely pick up on it and
> play with it, whereas the in-built session ID can be relatively invisible.
>
> I'm probably completely wrong with this, but I would really like to get to
> grips with the concept as I too am trying to find a cast-iron way to
> manage
> session state between http and https sites as the user flips between the
> 2,
> probably at lightening speed!!
>
> Thanks
>
> Laphan

Please include the article number and/or a link when referencing an ASPFaq
article. Here's the article I think you're talking about:

http://aspfaq.com/show.asp?id=2054

A closer reading of the article would reveal that Aaron is not advocating
the role-your-own database session method. He is simply opining that said
method is the best/simplest alternative when the session mechanism built
into ASP is not suitable; for example when the pointy-haired-boss says so.

Also note, that the article never mentions _sequential_ identifiers. While
identity columns are usually sequential by default, most databases support
some form of randomized identifier, whether that be the random auto-number
in Access, the globally unique identifier in SQL Server or whatever
implementations exist on other platforms.


--
May you be touched by His noodly appendage. RAmen.
http://venganza.org



.



Relevant Pages

  • Re: The concept of using your own SessionID
    ... > Just been looking through the excellent ASPFaq site and wanted to dissucss ... > his/her http pandemonium to try and hack other people's sessions. ... whereas the in-built session ID can be relatively invisible. ... some form of randomized identifier, whether that be the random auto-number ...
    (microsoft.public.inetserver.asp.db)
  • Re: Firewall session disconnects after 2 minutes of inactivity
    ... I want to start by pointing out the following: HTTP keep-alives and anything ... involved in the early stage of the connection when the client downloads the ... The HOD server I mean. ... when the session takes place through the ISA Server? ...
    (microsoft.public.isa)
  • Re: Opinion sort re user authentication ?
    ... Tony Benham wrote: ... I'm not storing financial data or anything very sensitive. ... known as "session based" or "form based" because it doesn't use HTTP ...
    (alt.php)
  • Re: HttpContext.Current.Session is null
    ... private static readonly CProjTest Instance = new CProjTest; ... HttpContext,as well as Session are created only for a HTTP request, ... I think you're trying to get session from a code that has nothing to do ...
    (microsoft.public.dotnet.framework.aspnet)
  • [NT] ASPSession IDs Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... An ASP SessionID is allocated even if the .ASP pages sets the session ... The same ASP SessionID is shared between a HTTP and HTTPS ...
    (Securiteam)