Web Hosting, Design, & Coding forum

General discussion

I need some help. A "where to start" question.

by MyWifeIsDead / December 28, 2008 7:35 PM PST

So here's the thing. I have created several websites so far, but using only HTML and CSS (and some open source scripts). However there is this firm that is willing to hire me, but they want me to create a website (2-3 pages are enough) that look different if you are or are not logged on. But I have never done anything like that and I don't know where to start. I'm not sure if HTML will do the trick or should I use PHP or ASP? And where is the login information stored? As a users in the DC or IIS where the website is hosted? Or in an SQL or some other database? The stupid thing is that they want to see it in a week (they don't want it to be looking good, only the code should be correct) and they will assign me on a project at March. I will be able to learn more then enough till then, but I need it now. If anyone can help in any way - guiding, linking to some useful information, etc. it will be greatly appreciated. I am willing even to share some (or most) of the first paycheck if someone give me a hand with the coding. After all it will be thanks to you I get hired in the first place.
Off to google for info.

Discussion is locked
You are posting a reply to: I need some help. A "where to start" question.
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: I need some help. A "where to start" question.
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
This really needs server-side programming.
by Kees Bakker / December 28, 2008 7:53 PM PST

Html is "stateless", so the server never knows if you're logged on or not.

All server-side application frameworks have facilities for it. http://www.webdevelopersjournal.com/articles/logon/xml_jsp_logon.html for example tells you how to do it using JSP (Java server pages) if you've got a Java server running on your webserver. That Java server keeps track of session information.

I'm sure a .Net environment has comparable possibilities, but I never used them.
http://msdn.microsoft.com/en-us/library/ms178329.aspx is about ASP.Net (which is a rather old implementation of .Net).

And I'm sure students of mine have done it in PHP. Here are a few links I found:
http://www.phplogin.net/
http://www.stargeek.com/php_login_tutorial.php
http://www.evolt.org/article/PHP_Login_System_with_Admin_Features/17/60384/index.html

So the first thing to do: ask them about their preferred webserver language: Java/JSP, .Net (several versions), PHP, ASP. Then implement that on their server (and possibly your own development environment) and start experimenting.

Kees

Collapse -
10x
by MyWifeIsDead / December 28, 2008 8:43 PM PST

I threw a quick view on the links you put and there is a lot of valuable information there. Thank you very much.

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?