Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Public Cookies
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Public Cookies

 Post Reply Post Reply Page  <1234>
Author
Mc Brain View Drop Down
Senior Member
Senior Member


Joined: 11 June 2002
Location: Argentina
Status: Offline
Points: 223
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mc Brain Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2003 at 6:36am

Is there anyway to get all the form's data? If that's so, I can create a form (on one of the common's page -header.asp, for example-) and set its action to open this page. Is there anyway I can get the whole form?

Back to Top
Mc Brain View Drop Down
Senior Member
Senior Member


Joined: 11 June 2002
Location: Argentina
Status: Offline
Points: 223
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mc Brain Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2003 at 7:03am

Can someone explain this? I'm using this code:

FullTreeView = Request.Cookies.Item("FullTreeView")
If Len(FullTreeView) = 0 Then
    FullTreeView = False
End If

'This line is to save a VBScript cookie so that it should be accesible anywhere.
Response.Cookies("FullTreeView") = FullTreeView

It doesn't work. It keep treating each cookie as independent from one folder to another.

 

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2003 at 3:44pm
IIRC, one of the FAQ questions in that link I gave you talked about loosing cookies when traversing to a peer level directory. Cookies in the instance thay spoke off could be referenced by subordinate directories, but not equal directories. IIRC, their solution was to set the cookie in a page at the root level to make it accessible to all subordinate directories.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Mc Brain View Drop Down
Senior Member
Senior Member


Joined: 11 June 2002
Location: Argentina
Status: Offline
Points: 223
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mc Brain Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2003 at 9:07pm

The problem is that the default is the root folder. Anyway I tried to set the root folder (force it), but didn't work either.

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

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2003 at 4:13am
Why dont you set the cookie in asp, because you can still access it through javascript there isnt a magic lock on it...
Back to Top
Mc Brain View Drop Down
Senior Member
Senior Member


Joined: 11 June 2002
Location: Argentina
Status: Offline
Points: 223
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mc Brain Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2003 at 7:20am
What do you mean, Mart? What would you do?
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2003 at 8:14am

You can set the cookie in vbscript and use javascript to do the thing when you click the link.

Mart.

Back to Top
Mc Brain View Drop Down
Senior Member
Senior Member


Joined: 11 June 2002
Location: Argentina
Status: Offline
Points: 223
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mc Brain Quote  Post ReplyReply Direct Link To This Post Posted: 01 November 2003 at 8:18am

That's what I tried to do with these lines:

FullTreeView = Request.Cookies.Item("FullTreeView")
If Len(FullTreeView) = 0 Then
    FullTreeView = False
End If

'This line is to save a VBScript cookie so that it should be accesible anywhere.
Response.Cookies("FullTreeView") = FullTreeView

But didn't work.

Back to Top
 Post Reply Post Reply Page  <1234>

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.