[ic] anchors in area tags

Kevin Walsh interchange-users@icdevgroup.org
Tue Aug 6 23:16:04 2002


> > > 
> > > That won't work either. Because if the [area] tag happens to include the
> > session
> > > information you would get:
> > > 
> > > http://www.domain.com/page.html?mv_session_id=XxXxXxXx#content
> > > 
> > Which is exactly what's required.
> 
> This will NOT work, becuase the #content is after the "?" and hence it will be
> treated as cgi variables. The #content MUST reside BEFORE the "?".
> 
> > >
> > > What you need to do instead is:
> > > 
> > > <A
> > REF="http://__SERVER_NAME____CGI_URL__/page.html#content?mv_session_id=[data
> > > session id]&">Content</A>
> > > 
> > That won't work - sorry.
> 
> The above example works perfectly. We use it in MANY cases. It also allows for
> domain/site independed coding.
> 
You'll be wanting to read RFC2068 (Hypertext Transfer Protocol HTTP/1.1),
section 3.2.1 (General Syntax), so that you can correct the many cases
where you've made this mistake.

    http://www.faqs.org/rfcs/rfc2068.html (HTTP/1.1)
    http://www.faqs.org/rfcs/rfc1945.html (HTTP/1.0)

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/