Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Log In User

Posted 21 Dec 2005 10:30:59
1
has voted
21 Dec 2005 10:30:59 kirsty burgoine posted:
Hi,
I'm building a customer area for a website I'm developing and want to restrict access to pages.

I don't know a vast amount of .asp but have achieved some cool stuff using the premium content articles on Building a Website with Restrictive Access. from this site

I've managed to set the website so that when they Login they're name appears at the top of everypage, like DMXZone, by creating a UserID session that I applied to my template.

But what I want to do is once my customers have logged in that first time I want them to be able to view unrestricted pages and when they go back to the restrictive access pages they are already logged in and don't have to do it again.

Is there a way to ensure they stay logged in so can view both resticted and open pages freely once they have initially logged in? and maybe even remember the viewer when they return to the website? Again like DMXZone and other websites like Amazon can do this as well.

Thanks

Kirsty

If it helps. I'm using Dreamweaver MX2004 with ASP VBscript pages and a Microsoft Access 2000 database in Windows XP.

Kirsty

Replies

Replied 21 Dec 2005 10:50:17
21 Dec 2005 10:50:17 Rene Bandsma replied:
I think that you have to use a cookie to set this. You can give a Time To Life in a cookie and thanks to that you can provide the user access with a cookie for a certain time. A cookie is also used to provide a 'remember me' and 'log me in automaticly' option.

<hr><b>DMXZone support manager</b><br><a href="www.kousman.nl">Kousman web resellers</a>
Replied 03 Jan 2006 18:05:41
03 Jan 2006 18:05:41 kirsty burgoine replied:
Hi,
Is there a Cookie extension available or a tutorial on how to create Cookies specifically to hold Login info?

I've found the premium content article "Real World Javascript: Cookie Handling" by Tom Dell'Aringa which gave me a bit more of an idea about Cookies but the tutorial wasn't what I wanted to do.

Thanks
Kirsty

Kirsty

Reply to this topic