Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Cookie Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cookie Question

 Post Reply Post Reply
Author
David F View Drop Down
Newbie
Newbie


Joined: 28 April 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote David F Quote  Post ReplyReply Direct Link To This Post Topic: Cookie Question
    Posted: 28 April 2003 at 8:47am
I've done a search thru the forums but can't seem to find an answer to this.

What are the names of the cookies that are set by the forum and what are the keys that are contained within the cookies?

I am trying to create a web-based quiz/course that will be integrated with a Web Wiz discussion forum. I will be adding another table to the Web Wiz database that will contain responses to the quiz/course and I wanted to be sure that these responses post to the proper Author ID and Username. I will also be restricting access to the new quiz/course web pages based on the login to the forum and I was thinking that cookies would be the best way to handle this.

The reason that I am using the discussion forum to accomplish this is that our instructors will also be conducting group discussions with the students.

Thanks,
David F
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2003 at 9:26am

The user ID of the user is not stored in a cookie, but a unique user Id that relates to the user is stored in a cookie called:-

Forum

under the key:-

UID

It's read in using:-

someVariable = Trim(Mid(Request.Cookies("Forum")("UID"), 1, 44))

Back to Top
David F View Drop Down
Newbie
Newbie


Joined: 28 April 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote David F Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2003 at 9:46am
Does UID contain the same data that is stored under the field name "User_code" in the tblAuthor table?

Which file creates this cookie?

Thanks,
David F
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2003 at 9:55am

It is.

The file is register.asp and login_user.asp

Back to Top
David F View Drop Down
Newbie
Newbie


Joined: 28 April 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote David F Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2003 at 9:58am
Thanks again.

David F
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.