-
I'm not a programmer, so I hope I can explain this problem well enough. I have a site that (for sales purposes) needs to have a registration w/ a username and password. All pages on the "inside" (post-login) are dynamic and all on the "outside" (pre-login) are static. We are moving an increasing amount of information to the outside for access by the press etc, but that results in creating new pages (thus making our site even larger!).
I think my question would be:
Is there a way to retain the login information (it contains an important ID), while the user moves "inside" and "outside"?
If this is confusing (and I'm sure it is), please contact me for clarification. Thanks!
-
Alisa,
I think Kevin has covered this in his Part 3 of his PHP/SQL series on the SitePoint mainpage. I believe it involves using hidden fields on each page...
------------------
Chris Bowyer - Programmer in Training
MyCoding.com: Join our mailing list for launch notification!
"I'm not an insomniac, I'm a web designer."
-
Just set a cookie with a name like 'logged_in' in a language like Javascript or even PHP...then it'll stay with them as long as their session doesn't expire (this session length can be changed).
-
d3v has the right idea. Cookies are designed for exactly this purpose.
------------------
-Kevin Yank.
http://www.SitePoint.com/
Helping Small Business Grow Online!