Envirionment variable on web

How can I set environment on web? I read, i can use CGI, but how?

Subject: Envirionment variable on web

environment variables on the web would always write to the servers notes.ini file. Generally I would not recommend doing this. If you want to store user specific options then consider using a document for each user instead.

Subject: Envirionment variable on web

environment variables can’t be used in web based applications. you have to use CGI variables…like “Query_String”, “Query_String_Decoded”.You can send values from one page to another by appending values to the url after a “?”

eg: http:////?OpenForm&value_needed_passed

cheers

kaushik das

Subject: RE: Envirionment variable on web

Thx. I try this.

Subject: *You could also create a cookie on the user’s computer

Subject: RE: *You could also create a cookie on the user’s computer

Yep, a cookie is the web-side logical equivalent of a Notes INI variable. And there’s a native Notes design element which was introduced in R4 to (a) obsolesce the use of environment variables and (b) work identically in both the Notes and web clients – it’s a profile document.

Profile docs differ from cookies, of course:

They work whether the user allows cookies or not.

They work in both clients.

Because they’re stored on the server, they take up space there.

Because they’re stored on the server, they replicate to other servers, which adds to replication traffic.

Because they’re stored on the server, they’re workstation-independent, so the user gets their settings no matter which physical machine (or even which client type) they log on from.

There’s no equivalent to cookie expiration; you must develop a system for deleting them if that’s important.

There’s no equivalent to cookie expiration; since the user can’t delete it as he can a cookie, the data is permanently available to you if you don’t manually delete it.