Re: Hiding variables passed via URL
- From: Michael Fesser <netizen@xxxxxx>
- Date: Mon, 14 Jul 2008 22:39:08 +0200
..oO(The Natural Philosopher)
I have no trouble understanding cookies and sessions.
Its jerry's assumptions that I didn't know that irritate.
All that is needed t preserve states across a session is to have some
unique session ID. That has to be carried by a cookie or by a URL .
After that, you can associate any amount of crap with that session ID.
I simply didn't see any difference in principle between carrying the
session ID as a URL than as a cookie.
There are a dozen ways for a URL to leak (the HTTP_REFERER is just one
way), which would easily allow other sites to grab valid session IDs.
Such attacks were done some years ago against a number of big free mail
services, which led to thousands of stolen accounts.
Session cookies are much more secure, because you actually have to sniff
the HTTP communication between the clients and the server or use XSS to
grab them.
Which I pointed out. Jerry then said 'what's cookies got to do with it'
so I explained what they had to do with it.
But they don't have anything to do with the OPs problem, which was about
passing data from one page to another. POST won't work here, GET is not
wanted, so the only viable alternative is a session. Question answered.
Micha
.
- Follow-Ups:
- Re: Hiding variables passed via URL
- From: gravity
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- References:
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Re: Hiding variables passed via URL
- From: burgermeister01@xxxxxxxxx
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- From: Jerry Stuckle
- Re: Hiding variables passed via URL
- From: burgermeister01@xxxxxxxxx
- Re: Hiding variables passed via URL
- From: The Natural Philosopher
- Re: Hiding variables passed via URL
- Prev by Date: PHP mediacenter. Looking for beginning devellopers
- Next by Date: Re: PHP and MSSQL character encoding problem.
- Previous by thread: Re: Hiding variables passed via URL
- Next by thread: Re: Hiding variables passed via URL
- Index(es):
Relevant Pages
|