Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - welcome members name
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

welcome members name

 Post Reply Post Reply Page  12>
Author
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Topic: welcome members name
    Posted: 29 May 2003 at 5:21am

I have seen on a couple of sites welcome members name I was wondering how do you do that? 

like this 

The time now is 29 May 2003 at 12:16pm
You last visited on 29 May 2003 at 10:19am

Welcome Numanme
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2003 at 5:30am

its done wit Cookies

this site (forum) stores your User Code (eg "nunanmeF232322" i think)

and then checks the database to see who you are

for the time, you can do <%=now()%> and it will show the time and date

for the last visit, it uses the cookie again to see the last date you visited



Edited by Scotty_32
Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2003 at 11:18am
but how can i di it
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2003 at 11:22am

umm well if you use the forum, you could include the common.asp file and use the strings... eg. strUsername (dont think its that thought)

and then you could do

<% Response.Write("Welcome " & strUsername ) %>

and that will disply the "Welcome numanme" on your site

and for the time you could use

<%
response.write("you last visited: " & request.cookies("lastvisited") )
response.write("The time is now: " & now() )
%>

but am not sure wot the acctuall strings are, i'll have a look later for ya

Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 8:39pm
Still can not work it out can somebody have a look at my forum and see what I can dohttp://www.numanme.wsauctions.co.uk/forumme/default.asp

Edited by numanme
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 9:06pm

The way I learned to do it was to use a WYSIWYG editor like DreamWeaver and look at the code that did it...then I copied/pasted that code to another page. After that didn't work I learned about using includes, etc. which got me really interested in ASP code.

I'm still a newbie but thanks to WWG and help here, I'm on my way to learning.

Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2003 at 4:41am
Its true to say I’m a newbie to all this ASP but I do use DreamWeaver and Araneac and usually resolve it, the problem I’m having is locating the page the link is on  
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2003 at 5:26am

wot is it your trying to do???

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.