Login - Condition check - Permanent vs Session? degrade application...

G

Guest

Help - I am really confused by this question...

In order for me to build a system that uses cookies and/or sessions and
handle situations where the user does not ahve this enabled which condition
should I test for:

checkType = 3

if checkType = 3 then
bh.SetExtProperties "cookie_both"
elseif checkType = 2 then
bh.SetExtProperties "cookie_sess"
elseif checkType = 1 then
bh.SetExtProperties "cookie_perm"
else
response.write "<html>bad checkType specified</html>"
response.end
end if


Am I not sure how to handle graceful degradation in the system if the user
does not have cookies enabled....further I am confused by the level of
cookie persistence a user can allow in IE5+.

Is there some simple way to allow auto login if cookies are present but then
to degrade to a login if he has them turned off.

I have been doing so much testing and reading but still the answer is
alluding me?

Thanks
Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top