Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Track users without cookie support? 1

Status
Not open for further replies.

level1

Programmer
Apr 16, 2002
60
GB
Hi everyone. I am building a web site on ASP and already used sessions.

Although my users are people that have no knowledge of cookies e.t.c.

All i want is a way of tracking users without cookie support and session objects...

More specifically is any anyway to allow them log on to my site without the use of session objects?

There is not much i need to store from them just basic info such as Password Username and email... thats all.

And once registered to allow them do their stuff without sessions but still recognised as registered...

Any sujestions where to look at?
 
Ok, the simplest way I can think to do this would be to have a database their use information will be stored in so that you can validate them when they log in, then just make sure you pass their username in every link or form you have in the page (I would suggest using the querystring) and check it at the top of every page to make sure that the username is not null.

Things to look into:
ADO objects for database work
Request.QueryString for getting data back out of the querystring (ie, address: aVar=aValue is a querystring variable/value pair.)


That should be all you need to do what you were looking for. has a good reference for both ASP and ADO as well as tutorials on all of these subjects.

-Tarwn 01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
ok thats better. Very usefull and i think ill go this way but using JS and not URL rewritting instead to keep the url Clear.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top