Showing posts with label basics. Show all posts
Showing posts with label basics. Show all posts

Saturday, March 31, 2012

The Basics

Hi,

I am very new to ASP. I am trying to make a secure site and I have some general questions.

Does the HttpSessionState object exist in the client's browser oron the IIS server? I assume that it must exist on the server or else itwouldn't really be any different than a cookie. Is this correct?In what order do events occur on the server when an HTTP requestis made. I am assuming that the request is made, the server gets theclients cookies, the server checks the web.config file, then the serverexecutes any necessary scripts and returns a webpage. Is this correct?Is there a nice tutorial about modifying the web.config file? Forexample, a tutorial which teaches people which XML tags do what in it?
Thanks a lot,

P10001.Session is on the server
2. there are a few more steps than that - search on asp.net lifecycle - though .Net isn't a script technolgy - morecorrect to say server creates objects- performs sub and functions - then renders html page
3.http://www.sitepoint.com/article/web-config-file-demystified
Thanks a lot.
Okay, the lifecycle does give me a lot of information that I am lookingfor, but it doesn't really mention (at least the pages which I readdidn't mention) when web.config is accessed in order to determineauthenication info etc. So I am still missing some important steps inthe lifecycle of a request.

The web.config link was also very helpful but I still don't know when the server uses it.

Thursday, March 22, 2012

The extreme basics

I am very new to this web development thing and have just started to play with Frontpage 2000. I have a an Access 2000 database which I want to use in conjunction with a web front end (to be constructed in Frontpage). There is no server involved, its just a project on my home desktop computer running either XP Home or ME.

I want to be able to add, delete, amend and query the data in the database from the web page, and understand that I need to use ASPs. I have created an ASP in Frontpage which has a database region within it connected to my local database (I set up an ODBC connection and selected that when choosing the database rather than selecting the mdb directly).

Basically I am at a loss. When viewing the web page the field headings appear, but no data. I gather from reading help files, etc that this is because I need some additional software to make it all work. If anyone can give me a few pointers as to how to get this to work, please let me know.

Best regardsyou HAVE to have a server because ASP is a "server-side" technology. you need IIS or Personal Web Server to run classic ASP, and IIS or Cassini to run ASP.NET. also, if you're not using ASP.NET (which is what it sounds like) please visit a forum for classic ASP.

ASPMessageBoard
You also might want to look at the Web Matrix tutorials - we have some dataBase examples you might find useful.

HTH

JD

http://www.asp.net/webmatrix/guidedtour/section2/newconn.aspx