|
Posted by Jim Michaels on 01/23/06 09:54
some people don't have JavaScript - some Accessible machines for the
disabled, for instance.
I found this out when reading a book on making sites accessible.
"Al" <alexrussell101@gmail.com> wrote in message
news:1137798357.677856.289200@g44g2000cwa.googlegroups.com...
>
> windandwaves wrote:
>> Doing
>> the header function means that you loose the posted variables as posts so
>> that you have to post them again. Can you do something like this:
>> header(post-type, $_POST), basically directly reposting all posted
>> variables
>> to a new location?
>
> Well yes, it loses the informaiton as POSTs but you can recreate them
> as GETs and send them on their way in a header("Location: ");
>
> But if you want to resend as POSTs I think it's mildly impossible. I'm
> pretty sure you can't do it your way. The header() command just adds
> stuff the to header being sent back to the user, rather than the header
> of the redirected request, unfortunately :)
>
> I think the javascript way seems to be your only chance, and it's not
> particularly invasive. Plus if people have javascript disabled then you
> can default to my POST -> GET code and at least TRY to fulfil the silly
> non-javascript-user's request :)
>
> So yeah, employ both methods?
>
[Back to original message]
|