hafa
Perch
I'm currently using session variables as the primary method of authentication throughout a number of asp applications. This method is problematic due to the memory-intensive nature of session variables and the lack of control over timeouts.
Are cookies the only other method for authentication? I'd really prefer a method which would span both .asp and .aspx (.net) pages, as mixed environments are becoming the norm. If cookies are used, what are some of the pitfalls to avoid?
For reference, here's the procedure currently used:
Any suggestions/links are appreciated...
Are cookies the only other method for authentication? I'd really prefer a method which would span both .asp and .aspx (.net) pages, as mixed environments are becoming the norm. If cookies are used, what are some of the pitfalls to avoid?
For reference, here's the procedure currently used:
- Query the database with user log/pass
- If username and password match, set a session variable
- Go on about our business
Any suggestions/links are appreciated...