RE: Disabling ContextId's?

Kirk Daries <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <D09B591872D1D611AF2B0010B5A1AAD089DB85@WCSMAIL>
Hi Christian,

I can use CVSGrab to get the latest version from Barracuda's CVS.
At the moment, I'm not storing any data in the 'local context'.
I already implmented my own mechanism to deal with session info and 
request info BEFORE the 'local context' was extended to have the
functionality
it does today.

That said, since I'm not using it, we should have a mechanism to turn it
off/on.
My logs show unnessary warnings 'Can't find/match context' or something like
that because
sometimes we(the developers) don't have control over links/form submits, etc
etc.

As a temporary solution, we could add a local boolean flag to
ClientSideRedirectException
to indicate whether the context Id should be apppended or not.

Let me know what route your're going to take. 
Regards
KD

-----Original Message-----
From: Christian Cryder [mailto:[email protected]]
Sent: 15 July 2003 05:35
To: [email protected]
Subject: RE: [Barracuda] Disabling ContextId's?


Hmmm....I don't think there's a way of doing that at this point...of course,
it could be easily modified, but could you upgrade to the latest version if
we do that?

Basically, the reason the context id is getting appended is so that when the
request comes back you "maintain" any local context info you had prior to
issuing the redirect...what we probably _ought_ to do is only append the
context id when we can determine that the URL being fired will be handled by
Barracuda (ie. contains a .event or .form or something like that).

In your case, because something else willb e handling it, the context id
really shouldn't be appended...

Christian
----------------------------------------------
Christian Cryder
Internet Architect, ATMReports.com
Project Chair, BarracudaMVC - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Kirk Daries
> Sent: Tuesday, July 15, 2003 9:19 AM
> To: [email protected]
> Subject: [Barracuda] Disabling ContextId's?
>
>
> Hi Guys,
>
> I need to disable the contextId when throwing a ClientSide redirect.
>
> E.g.
>
> http://eworks.wcape.gov.za/testeworks2-reports/rwcgi60?testeworks2
> -pdf+repor
> t=exp_r_1084+p_adviceid=32289&$ctxid=_1058281548048
>
>
> Need to make a call to Oracle Reports.. and it moans and groans
> about extra
> parameters in the url.
> The above url it complains about because of the extra context id
> parameter...
> Is there any way to disable context id across the application or
> just for a
> single redirect?
>
> Thanx
> KD
>
> _______________________________________________
> Barracuda mailing list
> [email protected]
> http://barracudamvc.org/lists/listinfo/barracuda

_______________________________________________
Barracuda mailing list
[email protected]
http://barracudamvc.org/lists/listinfo/barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.