Ticket #4 ( Closed )

Short Description Can I create a URL that connects a new session directly?
Entered By: PeteL When: 1998-04-24 07:48:38 Build: 1.3.7A
Categories Type: Question   Department: Product   Category: HTML Generation
I'm working on converting our setup to a frames-based one because of an architectural limitation brought about by a certain design flaw by someone who shall remain nameless, but who nevertheless desired to be ultimately flexible, and, in so doing, flexible'd himself into a hole. At any rate, I initially set up the primary 3270 frame with:


..not really realizing that I was bypassing the connect page, and it worked fine. Now I can't remember if that's a bad thing or not - I know it was not suggested that the actual login page be bookmarked, because you'd wind up getting a page out of cache that didn't really have a session behind it.

However, it seems to me that in this setup, I actually am running the connect request, so it may be OK .....maybe?

Append By: bthorne@ieinc.com  When: 1998-04-24 07:52:43  New Status: Pending Customer
Comment Yes, it is OK...the original reason you couldn't connect directly was due to caching, but we tweaked the initial connection screen to be uncached, using HTTP pragmas in the generated HTML.

What this does is remove the original requirement that you display the connection menu first-- it also lets users bookmark the first screen displayed (like the logon screen) and be able to use that bookmark to re-connect at any time.

Note that the initial connection always checks a cookie on the user's browser that contains the session key-- then, if the user has a session that is still active, they are reconnected instead of getting a new session.

Append By: pete.longden@bcbsnca.com  When: 1998-04-24 08:28:30  New Status: Pending IE
Comment was I supposed to put those pragma tags in my initial login/connected page? (I haven't yet)
Append By: bthorne@ieinc.com  When: 1998-04-24 08:35:26  New Status: Pending Customer
Comment You don't need to put-in the pragma-- the compiler actually watches for, and creates an action element (instead of static HTML text) for the <HEAD> tag. Then, at runtime, Screensurfer will insert the pragmas accordingly when the page displayed is the first one following a connect...
Append By: pete.longden@bcbsnca.com  When: 1998-04-24 08:43:19  New Status: Pending IE
Comment thanks!