|
Home > Archive > Microsoft Content Management Server > September 2006 > Cached NRORIGINALURL parameter returned
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Cached NRORIGINALURL parameter returned
|
|
| Sivaji 2006-09-11, 7:21 am |
| Hi Stefan,
I already posted this query 2 days back.I am again posting it in case u
missed it.
----
I am facing this peculiar problem.In our program , I am accessing a posting
with format as follows
http://domainname/Channel1/Page.htm...ts/Destname/...(other '/ ' separated strings)
In the aspx template file of above posting (i.e Page.html) I am getting
value of RedirectURL (i.e the series of ' / ' separated strings) via
NRORIGINALURL querystring parameter (as RedirectURL parameter would retrieve
nothing because of '/' character).Thing is that this is working fine in one
server but creating problem in a different server.I have found that in this
case , NRORIGINALURL always retains an old value even everytime a new set of
parameters is passed.With more digging , I saw that this value of
NRORIGINALURL is flushed only when I use "Clear Memory Cache" in SCA. So my
finding is that in one server , every information of request url is coming
from cached value of previously request url , while in other server
everything is as expected.
The only difference to my knowledge is that in "Good" server , Host Header
Mapping is enabled, while the "Problematic" one does not have.Also nowhere in
code we are using Page level caching.
Pls advise how can I fix the problem.
Thanks and regards,
Sivaji
| |
| Stefan [MSFT] 2006-09-11, 1:24 pm |
| Hi Sivaji,
I responded this morning to your question.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Sivaji" <Sivaji@discussions.microsoft.com> wrote in message
news:99E0CC10-0EF5-4DF6-A2FD-284B2BB6FC8F@microsoft.com...
> Hi Stefan,
> I already posted this query 2 days back.I am again posting it in case u
> missed it.
> ----
> I am facing this peculiar problem.In our program , I am accessing a
> posting
> with format as follows
>
> http://domainname/Channel1/Page.htm...ts/Destname/...(other
> '/ ' separated strings)
>
> In the aspx template file of above posting (i.e Page.html) I am getting
> value of RedirectURL (i.e the series of ' / ' separated strings) via
> NRORIGINALURL querystring parameter (as RedirectURL parameter would
> retrieve
> nothing because of '/' character).Thing is that this is working fine in
> one
> server but creating problem in a different server.I have found that in
> this
> case , NRORIGINALURL always retains an old value even everytime a new set
> of
> parameters is passed.With more digging , I saw that this value of
> NRORIGINALURL is flushed only when I use "Clear Memory Cache" in SCA. So
> my
> finding is that in one server , every information of request url is coming
> from cached value of previously request url , while in other server
> everything is as expected.
> The only difference to my knowledge is that in "Good" server , Host Header
> Mapping is enabled, while the "Problematic" one does not have.Also nowhere
> in
> code we are using Page level caching.
>
> Pls advise how can I fix the problem.
>
> Thanks and regards,
> Sivaji
>
| |
| Sivaji 2006-09-11, 1:24 pm |
| Hi Stefan,
Thanks for ur reply.Actually ur reply still has not appeared here, I checked
it in Google groups.I checked that both of the CMS servers are on Sp1a, but
the server where I found the problem has 5.0.4484.0 version while the OK one
is using 5.0.5054.0. Can this cause the difference?Also I am planning to use
ur suggestion , still I am interested to know the actual cause.
Thanks and regards,
Sivaji
"Stefan [MSFT]" wrote:
> Hi Sivaji,
>
> I responded this morning to your question.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Sivaji" <Sivaji@discussions.microsoft.com> wrote in message
> news:99E0CC10-0EF5-4DF6-A2FD-284B2BB6FC8F@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-11, 1:24 pm |
| Hi Sivaji,
yes it can as this is a different service pack level.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Sivaji" <Sivaji@discussions.microsoft.com> wrote in message
news:14FACEA3-83D9-475A-B294-81D2BB36FE82@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
> Thanks for ur reply.Actually ur reply still has not appeared here, I
> checked
> it in Google groups.I checked that both of the CMS servers are on Sp1a,
> but
> the server where I found the problem has 5.0.4484.0 version while the OK
> one
> is using 5.0.5054.0. Can this cause the difference?Also I am planning to
> use
> ur suggestion , still I am interested to know the actual cause.
> Thanks and regards,
> Sivaji
>
> "Stefan [MSFT]" wrote:
>
| |
| cuj0@bigpond.com 2006-09-12, 1:20 am |
| We're currently experiencing the same problem and it only affects
servers with SP1A (5.0.4484.0) installed. No servers with SP2
(5.0.5054.0) seem to have the problem, and when I upgraded one of the
SP1A servers to SP2 the problem disappeared. I guess the only
remaining questions are why, and more importantly, can it be trusted to
remain that way in the future?
Regards,
Caleb.
| |
| Stefan [MSFT] 2006-09-12, 1:21 pm |
| Hi Caleb,
obviously one of the hotfixes included in SP2 fixes your problem.
Btw: no you cannot trust this variable.
It is an undocumented MCMS internal querystring value which you should not
rely on.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
<cuj0@bigpond.com> wrote in message
news:1158040347.154713.207480@i42g2000cwa.googlegroups.com...
> We're currently experiencing the same problem and it only affects
> servers with SP1A (5.0.4484.0) installed. No servers with SP2
> (5.0.5054.0) seem to have the problem, and when I upgraded one of the
> SP1A servers to SP2 the problem disappeared. I guess the only
> remaining questions are why, and more importantly, can it be trusted to
> remain that way in the future?
>
> Regards,
> Caleb.
>
| |
| cuj0@bigpond.com 2006-09-12, 7:40 pm |
| Hi Stefan,
Thanks for the reply. In that case is there a better way to retrieve
the "user friendly" URL (including any query strings) as displayed in
the user's browser?
For example, if we have a channel structure Channels\MyApp\Search where
the Script URL property of the Search channel points to a non-mcms aspx
page (SearchResults.aspx), how can we retrieve the URL in the following
format:
http://server/MyApp/Search?Keywords=blah
instead of:
http://server/MyApp/SearchResults.a...n&Keywords=blah
Thanks,
Caleb
| |
| Stefan [MSFT] 2006-09-16, 1:34 pm |
| Hi,
no, there is no official way to achieve this.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
<cuj0@bigpond.com> wrote in message
news:1158104962.454802.207900@e3g2000cwe.googlegroups.com...
> Hi Stefan,
>
> Thanks for the reply. In that case is there a better way to retrieve
> the "user friendly" URL (including any query strings) as displayed in
> the user's browser?
>
> For example, if we have a channel structure Channels\MyApp\Search where
> the Script URL property of the Search channel points to a non-mcms aspx
> page (SearchResults.aspx), how can we retrieve the URL in the following
> format:
>
> http://server/MyApp/Search?Keywords=blah
>
> instead of:
>
> http://server/MyApp/SearchResults.a...n&Keywords=blah
>
> Thanks,
> Caleb
>
|
|
|
|
|