PeOfEo
06-11-2003, 12:01 AM
request.ServerVariables( type that into dreamweaver you will be amazed! The list of variables that you can use is so long you can also use host names and ip addresses from this its great... I FIGURED IT ALL OUT!
|
Click to See Complete Forum and Search --> : ribeyed look quick! PeOfEo 06-11-2003, 12:01 AM request.ServerVariables( type that into dreamweaver you will be amazed! The list of variables that you can use is so long you can also use host names and ip addresses from this its great... I FIGURED IT ALL OUT! Bullschmidt 06-11-2003, 09:32 AM Or for those without Dreamweaver to see all the server variables: Response.Write "<br>Server:<br>" For Each varItem in Request.ServerVariables For I = 1 to Request.ServerVariables(varItem).Count Response.Write varItem & " = " & Request.ServerVariables(varItem)(I) & "<br>" Next ' Next I. Next ' Next varItem. Ribeyed 06-11-2003, 12:29 PM Hi Nick, :) i Know ;) PeOfEo 06-11-2003, 03:04 PM yes but I finally fixed it on my forums so I can track a guest ip and log a members ip its awesome. I thought I would need a global asax to do this or some xml cause thats the only way I had seen it dont before in asp.net khaki 06-11-2003, 04:02 PM thats the only way I had seen it dont before in asp.net has ASP.NET really dumbed-down things that much? The VB.NET version of VB is that different? or... let me put it this way... if I know VBA and VBScript... is it an easy (and intuitive) transition to VB.NET/ASP.NET? I can't figure-out if this VB.NET/ASP.NET thing is good for the future of web development.... or bad :rolleyes: anyone have any answers and/or opinions on that? ;) k PeOfEo 06-12-2003, 12:19 AM i dont know about vb.net but asp.net is awesome. It is the newest server side language and has many advantages. The one I like the most is the fact that it can be done in many many languages. I choose to use vb but I also use xml for some files and have touched c# but find it confusing and dont want to bother with that. If you know vb then asp.net is very eay to get into. It took me about 2 weeks to pick it up and now I am maken applications left and right. khaki 06-12-2003, 09:32 AM Originally posted by PeOfEo i dont know about vb.net but asp.net is awesome. It is the newest server side language and has many advantages. The one I like the most is the fact that it can be done in many many languages.... I admit that I know bupkis about ASP.NET... but I thought that it was an app (not a language) and that the "language" of ASP.NET was VB.NET (among others... although VB.NET was a language developed specifically for ASP.NET) Wrong? :confused: Maybe someone else can clue me in (?). But... for Peo: Did you know any VB languages before ASP.NET? From my recollection... you didn't use (or know) ASP (regular) at all. And it wasn't until ASP.NET that you started discussing this subject (and you still don't seem to be familiar with the core language of VB). Was ASP.NET your first experience with VB/ASP as a server-side app technology? I'm still unsure of this whole ASP.NET thing. It sounds like it turns people into server-side app developers in the same way that FrontPage turns people into web designers (WYSIWYG). Is my impression wrong? I really don't want to miss-out on a party... but I also don't want to waste my time at a lame-*ss wannabee party... So.... what's the real deal? anyone :confused: ;) k cmelnick 06-12-2003, 01:46 PM Khaki: I would try to talk about ASP.Net, but it is so much easier to point you to those guys from Rolla (http://aspnet.4guysfromrolla.com/). They have several great links about the nitty gritty differences between ASP and ASP.Net, tons of examples, etc. I wish I was from Rolla :D Chris P.S. You glad its not raining anymore? khaki 06-12-2003, 02:05 PM raining?!!!!!!!!! Chris... it didn't rain yesterday (well... a few drops) and then it became super sunny and extremely humid and then last nite... BOOM!!! thunderblasters and downpours! your dry there? sunny/cloudy again today. HUMID (even on the coast!!!!) but anyway (i've fallen off-topic and I can't get up)... I'll check the Rolla boys link (i love nitty-griity guys who can code ;) LOL). sunny there? ;) k khaki 06-12-2003, 02:48 PM okay Chris.... I looked. One word (hyphenated): LEARNING-CURVE Do YOU use ASP.NET? I assume that it requires that an employer have ASP.NET licenses and server setups in place? (in other words... could I create using ASP.NET at home... and then stick the pages on a regular IIS setup at work... and have everything work exactly as I created it in ASP.NET? ) Also (and curiously) they provided an example for extracting and displaying data from a db. The guy states that it is easier AND requires less code than using classic ASP. But that's a bunch of baloney! If anything it's the same (if not more code than classic ASP). Is this all MS propoganda... or is there something behind it (for real)? I'm stumped. It seems like I would need to really sign away my soul to MS if I bought into this (more so than currently).... and I don't really know how widely this is used (in business). I was probably better-off being ignorant about it (now I'll just fret about it and make myself sick :( ) maybe it's time to move to the country and spit out babies :rolleyes: (yeah... right!!! Ha!)... ;) k cmelnick 06-12-2003, 04:06 PM I have used it for a very short while, and basically only for my own amusement. My web host wants $30 for Asp.NET setup, and I am cheap, but soon I am pretty sure that I will cough it up because it really is a lot nicer. What I can tell you is that almost everything that comes out of MS's mouth is propeganda, but sometimes, propeganda just might be true. I have a couple friends who are hard core Linux junkies, yet swear by .NET for web apps. I enjoy dabbling with Linux, but I can tell you that it is a helluva lot easier to write an interactive web page with Asp.NET than it is to do the same in Perl or even Asp. As far as the example you mention of the database connection being as long, that is true...to a point. If you plan a good object orientated design, you only have to do the major work once. Then you have a reusable component that any time you want to make a database connection, you are ready to go, you don't have to put the same code in every Asp file. Learning-Curve: yes. But it is short. The biggest jump in knowledge comes from the difference in thinking between Programming and Scripting. As far as biased opinions, I tend to be more biased the opposite way. I shy away from new technology that tries to make things "easier" or WYSIWYG because I feel I lose control that way (for example, Notepad is still my preferred Windows HTML editor). But I like Asp.Net. No licensing or anything needed, just a couple hundred megs download :p The licensing part come in if you want the fancy pants development environment. Go to MS's own page (http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevframework.asp) for details on downloading and requirements. If you don't have broadband, let me know...I can burn this stuff for you and send it via snail mail. Should be quick, I'm in VA. Don't stress about it ;) Just play around with it a bit, and if you don't like it, fughetaboutit. (Jersey talk :D) You made me laugh with your last comment...don't go THAT crazy... Later Chris khaki 06-12-2003, 04:23 PM Originally posted by cmelnick you only have to do the major work once. Then you have a reusable component that any time you want to make a database connection, you are ready to go, you don't have to put the same code in every Asp file. gosh... ask you a question.... get an answer :) As far as the quote above... isn't that what Includes are for? (and Stored Procedures) But anyway.... maybe I will check it out (and yes... I'm on broadband... but if I have trouble - as I often do :rolleyes: - i'll give you and the snail a shout). Just remember... the party doesn't really rock until I arrive... so I'll let you know when I'm on board :) it's not the heat... it's not the humidity... it's the lack of humility :eek: ... ;) k cmelnick 06-12-2003, 04:43 PM Yea, I thought about the #include thing, but that's not an exact comparison. There are little annoyances about the #include. That isn't the only difference either, there are tons. Hmm...you want an answer... It is cool. How's that? :p Besides, it is compiled! Oooh...faster code...mmm... You crack me up...I won't enjoy Asp.NET until you tell me you like it :D Later, Chris Bullschmidt 06-12-2003, 04:55 PM I shy away from new technology that tries to make things "easier" or WYSIWYG because I feel I lose control that way (for example, Notepad is still my preferred Windows HTML editor). But I like Asp.Net. cmelnick, So what editor do you use for developing with ASP.NET? cmelnick 06-12-2003, 06:07 PM So far, just Notepad. Archaic, but it works. I also really like Vim (http://www.vim.org/download.php), but I haven't taken time to install it on my home machine yet. PeOfEo 06-13-2003, 04:13 AM Originally posted by khaki But... for Peo: Did you know any VB languages before ASP.NET? From my recollection... you didn't use (or know) ASP (regular) at all. And it wasn't until ASP.NET that you started discussing this subject (and you still don't seem to be familiar with the core language of VB). Was ASP.NET your first experience with VB/ASP as a server-side app technology? anyone :confused: ;) k I knew visual basic and I am learning java (hope I might pick up jsp soon then :) ) anyways no asp.net is my first server side experience and it was a good one go .net wew PeOfEo 06-13-2003, 04:14 AM comelnick! YOU ARE A FELLOW HOME STAR FAN AND YOU USE ASP.NET! WE COULD BE BROTHERS!!! Lets tell them all about www.homestarrunner.com ! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |