get QueryString or HttpCookieCollection from server side script
I have a couple of implementation "challenges" that could be solved if only I could access the System.Web.HttpContext.Current.Request object from a server-side script.
In particular I need to either get the CookieCollection that was included in the request, or the QueryString.
There must be a way but I'm not getting anywhere on my own.
Is there a way to get the Cookies? Or the QueryString?
Comments
-
From a server side script? IMHO no it is no possible, the server side code is being run in the COM+ Metatorm Process Engine, nothing directly linked to the components under IIS which are rendering the web pages...
If you used client side code to load the content into a memo field o the form (not shown perhapes) you could possibly make the values available to the server side code...
0 -
As Paul said, this is not possible. Server-side scripts run in the context of the process engine and the querystring and httpcookiecollection are only in the context of the web server. What are you trying to accomplish?
0 -
We use SiteMinder in our internal web environment, and one of the cookies that SiteMinder provides can be used to act with end-user credentials. If I could get that cookie, I can let the BPM engine call other internal systems with the credentials of the end-user.
In the end we found a workaround. We created a thin ASP wrapper that will be the first-stop for end-users (this is where we will send them to initiate a process, complete an assigned task, etc.).. The only thing this ASP wrapper does is capture the SiteMinder cookie, store it in a DB that is accessible to the engine, then re-direct the user to the Metastorm page they were looking for.
0 -
hello
there is no way to play with QueryString but in one of the latest v9 you can pass values into Metastorm fields by adding some query patameter. Than you don't have to read query string becouse you have value in metastorm variable. About webservice impersonate there is no way to do it in pure metastorm. I think some kind of wrapper is the only solution.0 -
Hi Tom,
How did you integrate with Siteminder?
We also had a requirement of using SSO with siteminder.
From the experts I found that siteminder returns GUID and not windows username.
whereas we store directory names "domain\username" in eUser table.
Had you used any customized SAP script for this?
Kindly help
Thanks!
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories