Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 10th, 2004, 04:28 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

It is not possible to reach the above article by just typing the above link. How I reached it is:

I gave "scriptless web design" as the keyword and did a search. I got 3 articles out of which one was this.
 
Old July 14th, 2004, 04:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Just got some time to play with that after so long.

Yes Madhu, You are right, it doesn't work when the IE setting is changed to the one you suggested.

One should look for an alternative then. But I haven't so far come across people doing it with that kind of IE settings. Good to know that still.

Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old July 14th, 2004, 04:54 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

The above article I got from net is giving an alternate solution. But it is not a brilliant solution. Just old wine in a brand new bottle.

Sessions are good in normal websites for keeping track of logged in status. But in an intranet application (for e.g. a project manager plus knowledgebase tool which is used in my company), use of session is not a good method. Suppose one set of issues is posted to me. I will typein the answers to it issue by issue in half an hour. After that when submit reply, it will go to default page saying that session is expired. Unfortunately, the above application is preventing pages from going into cache. So when I press backbutton, I get a page with nothing typed in the reply field. This means all I have typed in half an hour is lost.

Here is another method. I am defining a JS variable in a small frame at the top. When its value is true, normal operations will continue in the bottom big frame. Otherwise, it will go to login page. I will set the value at the time of login.

But when people open links in new windows, this fails.

I agree with you Vijay that such settings are rare. But my project manager in London says that browsers in corporates will generally prevent session for (unnecessary) fear of losing privacy.

Session is the best available way to maintain state. But ...
 
Old July 14th, 2004, 05:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, I agree with you on the usability issues when SESSION is used. That way it can be a good solution only in places where one can respond within the session expiry time. That makes one to be more focused on just that job.;) Otherwise an increase in session expiry time would do the trick.

Just when you say "browsers in corporates will generally prevent session for fear of losing privacy" I am little curious to know what other data relevant to that person can be retrieved, when using a session? Let me know on that in your leisure time.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting logged in UserName to Session ID Admiral1701 ASP.NET 2.0 Professional 10 December 1st, 2006 10:35 AM
user logged jonyBravo Access 6 November 27th, 2006 09:14 AM
Currently Logged on to the Database Corey Access 5 January 18th, 2006 06:46 PM
Getting the name of the logged on user Grahame2003 C# 2 March 4th, 2004 04:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.