{{tag>category:"OpenInsight 32-Bit" author:"David E Schranz" author:" [url=http://www.sprezzatura.com]The Sprezzatura Group[/url]"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== OICGI / OECGI Session (OpenInsight 32-Bit) ====
=== At 22 APR 2003 10:32:40AM David E Schranz wrote: ===
I have created an HTML page directly through OI but have noticed that if I save the source and re-open the HTML page, it links directly with OICGI again even if I open the page hours after closing explorer. I need the facility to create a temporary session which is active until the user closes explorer. If the page had to be saved and re-opened a few hours after, the system will realise that the session is inactive and will not allow the user to access the OICGI engine. How can this be achieved?
I wish to ensure that the user goes through a user logon and does not call up a page and by-passes the user logon!
Rgds
David Schranz
----
=== At 22 APR 2003 11:12AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
This is a good starting point - http://www.revelation.com/website/discuss.nsf/search/0D8BA77C09C854E58525699200707CEE?OpenDocument - try searching on INET_SECURITY. We've built this sort of funtionality into S/Web along with Basic Authentication.
[url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 22 APR 2003 12:28PM David E Schranz wrote: ===
Sprezzatura,
Thanks for the info. but unfortunately my main issue is if an HTML page is saved as a text file and reopened a few hours later I do not want the user to be able to access any OI info unless the user re-logs onto the system.
So I need a temporary session ID , so that when the user tries to access the OI system via a page directly saved on his harddisk as an HTML page, the system will not allow him to access the OI database unless he re-logs-on using the standard user logon. I tried to create a time-out which worked but is not ideal. (If a user does not access the page for more than say 50 sec. then he has to re-logon!)
This is temporary and is not ideal. I need to ensure that once explorer is closed the user is reset or the session terminated thus forcing the user to re-logon the next time around even if the HTML page is accessed directly !
Any Suggestions?
Tks
David Schranz
----
=== At 22 APR 2003 12:55PM David E Schranz wrote: ===
I am wondering that if I create a temporary variable in memory not passed via the HTML page, this may address the issue. Once explorer is closed the variable is lost and only re-created on user log-on.
How can I create a variable in memory with OICGI/OECGI without having to create a variable within the HTML page.
I would be gratful if you could provide me with Rbasic Code. I still cannot understan how to collect the SERVER_NAME$ etc. using Rbasic.
Tks
David Schranz
----
=== At 22 APR 2003 01:05PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
Details on all of this are already in the public domain. A good starting point would be http://www.revelation.com/website/discuss.nsf/search/CAF4949A40C0D5068525683F00631F68?OpenDocument.
[url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 25 APR 2003 09:32AM David E Schranz wrote: ===
Sprezzatura
Tks for the info. but I am still in a bit of a fix!
I have managed to collect the IP info etc. but my problem is still in sight.
If I save the HTML window on Drive C: and close explorer and the next day re-run the HTML window directly from C: I have full access to the data I have previously without having to pass through the user authentification process - This is the main issue.
Can I use session variables that are only available during the user session and lost when Explorer is closed or can I pass data in the CGI Request (in memory), not as a variable in the HTML page but as a variable within the Request field passed to the CGI controller.
This will definately address my issue!
Any Suggestions?
Tia
David Schranz
----
=== At 25 APR 2003 10:48AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote: ===
Make the cookie expire at a given date/time.
[url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url]
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=5647BA4AFC38E5A785256D10004FE531|View this thread on the Works forum...]]