Re: Saving and passing an initial QueryString parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Clerico wrote:
When my webapp is first invoked it may or may not have a QueryString
parameter included in the URL in order to provide some custom navigation
capabilities. The existing links in my webapp were created prior to this new
feature and I do not want to modify every link in the webapp to include the
new QS parameter.  Is there a way to have the webserver save the info and
append it to the future requests?

e.g.

initial request: http://host.com/index.html?PORTAL_NAV

the existence of PORTAL_NAV in the QS tells the navigation components of the
app that they need to be "portal sensitive" as opposed to "running
standalone".

the links embedded in the app do not include the PORTAL_NAV parameter, but I
would like it to be implicitly included due to the initial request.

I've fooled around with cookies to make this work but its less than ideal
since the user could access the app with and without PORTAL_NAV from the
same browser.

Just to make sure : are you saying that a user, with the same browser, could decide to acces your host either from within the portal, or else directly without going through the portal, and that in both cases the hostname would be the same ?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux