Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how can i?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how can i?

 Post Reply Post Reply
Author
issaq View Drop Down
Newbie
Newbie
Avatar

Joined: 05 March 2003
Location: Iran
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote issaq Quote  Post ReplyReply Direct Link To This Post Topic: how can i?
    Posted: 30 March 2003 at 8:30am

hi everyone

how can i make an asp page that when a user for the first time signup then at the next time he doesnot need to signin again and my page understand that is it?

you truly

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: 30 March 2003 at 9:18am

you use cookies

you set a cookie and tell it to expaire WAY into the future, and you like put down the username in the cookie

is this for the forum? cose you can select "Sign me when i return"

if not then you use cookies, not sure if borg has any cookie tutorials

but basicaly you do

<% resonse.cookies("username") = "then there username here" %>

and to read it its

<% username = request.cookies("username") %>

and anywhere you put "<%=username%> it will insert their name!

Back to Top
issaq View Drop Down
Newbie
Newbie
Avatar

Joined: 05 March 2003
Location: Iran
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote issaq Quote  Post ReplyReply Direct Link To This Post Posted: 31 March 2003 at 12:13am

hi scotty

i would be appreciated if you help me that where can i use the above code .my mean is that i must be use <% resonse.cookies("username") = "then there username here" %> at the first of my sign up page and so about the other code.

regards

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: 31 March 2003 at 2:05am

well... umm

you could use Borgs Login Script

http://www.webwiz.net/asp/sample_scripts/database_login_script.asp

have you already got a list of users or sum thing?

have a look at the script above - might help you

i think it will have a include file or a line of code you put into the top of your html to stop them from accessin it, but i aint looked at it so am not sure, but i think it will be usefull

Back to Top
 Post Reply Post Reply

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.