Forums

ASP

This topic is locked

Advanced login(s)

Posted 27 May 2002 20:54:01
1
has voted
27 May 2002 20:54:01 Kristian Waagsboe posted:
<font face='Tahoma'>I'm not the brightest man on this earth <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

Quite frankly, I must say I don't know sh*t about program languages besides HTML of course. But anyways, I have managed to build, upload and release a asp website. But I would really like to spice up the login (without writing any source code for myself) with ability to pass url parameters while logging in. Perhaps also use cookies for folks visiting the place (with login) several times. URL parameters are though the most important in this case. I'm talking about either extensions (dwmx) or some good and old copy&paste <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

I will be most grateful if anybody replies...</font id='Tahoma'>

Replies

Replied 27 May 2002 21:02:32
27 May 2002 21:02:32 David Behan replied:
You should check out this post

www.udzone.com/showDetail.asp?TypeId=2&NewsId=1163

or search the forums as this question has already been explained a number of times I believe.

Cheeurs...

_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
Replied 28 May 2002 01:02:25
28 May 2002 01:02:25 Kristian Waagsboe replied:
<font face='Tahoma'>Sorry mate <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Will do it next time

thx anyways</font id='Tahoma'>
Replied 28 May 2002 10:43:43
28 May 2002 10:43:43 David Behan replied:
If you are still having trouble, just shout. It saves a lot of time if you take a minute to look over old posts or even search them. If you still can't find the answer, just shout...

Cheeurs

_________________________
David Behan - www.site-manager.com/af.asp?a=11&l=1tds9p6x2
Replied 28 May 2002 16:28:02
28 May 2002 16:28:02 Kristian Waagsboe replied:
Hmmm, i didn't get this right... Here's my source...

&lt;%
if rsLogin__strUsername &lt;&gt; "xyz" AND NOT rsLogin.EOF then
Session("svUserID" =(rsLogin.Fields.Item("klasseid".Value)
Response.Cookies("ckLoggedin" = "Loggedin"
Response.Redirect "start.asp"
Else
Response.Redirect Request.ServerVariables("HTTP_REFERER"
End if
%&gt;

Am I supposed to use JavaScript or VBScript (Using JavaScript now)?

Explaining a bit more:

On the login page, the user is supposed to enter their userid, which is a number between 1 and 34 and their password.

Edited by - Kr]st[an on 28 May 2002 17:28:15

Reply to this topic