473,385 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Built-in is-logged-on status variable?

I assume that mostly, asp programmers use their own session variable to
know whether a user is to be considered is-logged-on (together with a
home-written log-on form web page).

However, I wonder if there is a convention for the name of such a
variable?

And does asp/iis have a built-in is-logged-on status variable? For
example when IIS is to render a normal html page with an acl that
invokes a basic authentication, can I as an asp programmer make use of
that status variable, and can I write to it to force a logout
programatically?

So, this is not about it there is a session as such, it is about beeing
logge-on inside an asp-session. I've looked around but haven't found
any good info on this.

Rgds
Sven

Nov 8 '05 #1
1 1197
Instead of having a session variable called IsLoggedIn or whatever I
often have a session variable with the same name as the user level
field in the users table which may be called UserLevel. This is
because different levels of users such as Admin or User can access
different things on the Web pages.

And perhaps this may hopefully give you some ideas:

Classic ASP Design Tips - Login Page
http://www.bullschmidt.com/devtip-loginpage.asp

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
I assume that mostly, asp programmers use their >own session variable to
know whether a user is to be considered is-logged->on (together with a
home-written log-on form web page). However, I wonder if there is a convention for the >name of such a
variable? And does asp/iis have a built-in is-logged-on status >variable? For
example when IIS is to render a normal html page >with an acl that
invokes a basic authentication, can I as an asp >programmer make use of
that status variable, and can I write to it to force a >logout
programatically? So, this is not about it there is a session as such, it >is about beeing
logge-on inside an asp-session. I've looked around >but haven't found
any good info on this.

Rgds
Sven


Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Crook | last post by:
does MYSQL have a quota built into it! I need it limit the size of each database AndiC
1
by: William | last post by:
Looking for a pre built dotnet corporate or small business website template.
1
by: William | last post by:
Looking for a pre built dot net website for consulting business. I am trying to put up a quick business web for a dot net frame work. I have a provider already. I am trying to save time. Any...
1
by: Budinski | last post by:
I have been offered money to develop an application for a company and I figured .Net would work just fine. But i don't want Microsoft coming after me because I used thier software to build it. I...
354
by: Montrose... | last post by:
After working in c# for a year, the only conclusion I can come to is that I wish I knew c. All I need is Linux, the gnu c compiler and I can do anything. Web services are just open sockets...
6
by: eugenef | last post by:
We are running into the following issue with DB2 V8.1.3 on AIX 5: We have a sample table create table t ( c1 int, c2 varchar(20)) populated with some records: db2 => select * from t C1 ...
24
by: Rob R. Ainscough | last post by:
I was reading yet another book on .NET - VB 2005 Professional (wrox) and read the statement; "Microsoft has staked their future on .NET and publicly stated that henceforth almost all their...
8
by: yc282004 | last post by:
Hi, I was asked to take over a web application that written using PHP scripting. The applicaiton is used for monitoring server & network availability and perforamnce. There is no documentation...
48
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott...
1
by: switzerland qunatium computer | last post by:
HERE I BUILT A QUICK MATRIX TOOOK 5 MINS Body: HERE I BUILD ONE FOR YOU 1.http://en.wikipedia.org/wiki/Real-time_computing 2.http://en.wikipedia.org/wiki/Quantum_computing NOW ALL YOU NEED...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.