Free DHTML scripts provided by
Dynamic Drive

-------------------------------------------------------- When I compile it, or run it straight from IIS, it will not keep cookie state for the menu selection (not-working). When I open the webroot folder directly from the C drive (windows explorer) and dclick the .htm file, it opens and it keeps cookie state on the menus (working) What do I have to configure in order to make this work when I run the page from IIS?? Thanks! -Todd [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Todd [ip] => tsloan@smithdat [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) --> > > > > > > > > > > > >

Free DHTML scripts provided > by
> Dynamic Drive

> > > > > > -------------------------------------------------------- > > When I compile it, or run it straight from IIS, it will not keep cookie > state for the menu selection (not-working). > > When I open the webroot folder directly from the C drive (windows[/ref] explorer)[ref] > and dclick the .htm file, it opens and it keeps cookie state on the menus > (working) > > What do I have to configure in order to make this work when I run the page > from IIS?? > > Thanks! > > -Todd > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => MS [ip] => "MS News \ [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > >

Free DHTML[/ref] scripts provided[ref] >by
>Dynamic[/ref] Drive

[ref] > > > > > >-------------------------------------------------------- > >When I compile it, or run it straight from IIS, it will[/ref] not keep cookie[ref] >state for the menu selection (not-working). > >When I open the webroot folder directly from the C drive[/ref] (windows explorer)[ref] >and dclick the .htm file, it opens and it keeps cookie[/ref] state on the menus[ref] >(working) > >What do I have to configure in order to make this work[/ref] when I run the page[ref] >from IIS?? > >Thanks! > >-Todd > > >. >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <0b5101c365ae$1ded1f20$a601280a@phx.gbl> [ref] => [htmlstate] => on_nl2br [postusername] => Dan [ip] => dan@nospam.com [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > > > > > > > > > > > > > >

Free DHTML scripts[/ref][/ref] provided[ref][ref] > > by
> > Dynamic Drive

> > > > > > > > > > > > -------------------------------------------------------- > > > > When I compile it, or run it straight from IIS, it will not keep cookie > > state for the menu selection (not-working). > > > > When I open the webroot folder directly from the C drive (windows[/ref] > explorer)[ref] > > and dclick the .htm file, it opens and it keeps cookie state on the[/ref][/ref] menus[ref][ref] > > (working) > > > > What do I have to configure in order to make this work when I run the[/ref][/ref] page[ref][ref] > > from IIS?? > > > > Thanks! > > > > -Todd > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Todd [ip] => tsloan@smithdat [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 5 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Free DHTML scripts[/ref][/ref] > provided[ref][ref] > > > by
> > > Dynamic Drive

> > > > > > > > > > > > > > > > > > -------------------------------------------------------- > > > > > > When I compile it, or run it straight from IIS, it will not keep[/ref][/ref][/ref] cookie[ref][ref][ref] > > > state for the menu selection (not-working). > > > > > > When I open the webroot folder directly from the C drive (windows[/ref] > > explorer)[ref] > > > and dclick the .htm file, it opens and it keeps cookie state on the[/ref][/ref] > menus[ref][ref] > > > (working) > > > > > > What do I have to configure in order to make this work when I run the[/ref][/ref] > page[ref][ref] > > > from IIS?? > > > > > > Thanks! > > > > > > -Todd > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <#br5EdbZDHA.2572@TK2MSFTNGP09.phx.gbl> [ref] => [htmlstate] => on_nl2br [postusername] => MS [ip] => "MS News \ [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 10 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > > > > > > > > > > > > > >

Free DHTML[/ref] > scripts provided[ref] > >by
> >Dynamic[/ref] > Drive

[ref] > > > > > > > > > > > >-------------------------------------------------------- > > > >When I compile it, or run it straight from IIS, it will[/ref] > not keep cookie[ref] > >state for the menu selection (not-working). > > > >When I open the webroot folder directly from the C drive[/ref] > (windows explorer)[ref] > >and dclick the .htm file, it opens and it keeps cookie[/ref] > state on the menus[ref] > >(working) > > > >What do I have to configure in order to make this work[/ref] > when I run the page[ref] > >from IIS?? > > > >Thanks! > > > >-Todd > > > > > >. > >[/ref][/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <0b5101c365ae$1ded1f20$a601280a@phx.gbl> [htmlstate] => on_nl2br [postusername] => MS [ip] => "MS News \ [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 11 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> "John Saunders" wrote in message news:u%phx.gbl...[ref] > Todd, > > I meant the _cookie_ domain. > > Please post the code you use to create the cookie. > > -- > John Saunders > Internet Engineer > com > > > "Todd" wrote in message > news:%phx.gbl...[ref] > > The domain is set to my machine name (todd_sloan). > > > > How do I change it? > > > > > > "John Saunders" wrote in message > > news:phx.gbl...[ref] > > > "Todd" wrote in message > > > news:phx.gbl... > > > > Yeah, I will try to hardcode the domain field path for the cookie[/ref][/ref][/ref] and[ref][ref] > > see[ref] > > > if > > > > that works. If not I will just scratch everything and keep client[/ref][/ref] > state[ref] > > on[ref] > > > > an parent IFrame or something..at least I know that works. > > > > hehe > > > > > > Todd, that's not what I said. > > > > > > I said, try to find out what the domain is set to, then learn to set[/ref][/ref][/ref] it[ref][ref] > > the[ref] > > > right way. > > > > > > How are you setting it now? > > > -- > > > John Saunders > > > Internet Engineer > > > com > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#tY6EabZDHA.1744@TK2MSFTNGP12.phx.gbl> [htmlstate] => on_nl2br [postusername] => Todd [ip] => tsloan@smithdat [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 13 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > "John Saunders" wrote in message > news:u%phx.gbl...[ref] > > Todd, > > > > I meant the _cookie_ domain. > > > > Please post the code you use to create the cookie. > > > > -- > > John Saunders > > Internet Engineer > > com > > > > > > "Todd" wrote in message > > news:%phx.gbl...[ref] > > > The domain is set to my machine name (todd_sloan). > > > > > > How do I change it? > > > > > > > > > "John Saunders" wrote in message > > > news:phx.gbl... > > > > "Todd" wrote in message > > > > news:phx.gbl... > > > > > Yeah, I will try to hardcode the domain field path for the cookie[/ref][/ref] > and[ref][ref] > > > see > > > > if > > > > > that works. If not I will just scratch everything and keep client[/ref] > > state[ref] > > > on > > > > > an parent IFrame or something..at least I know that works. > > > > > hehe > > > > > > > > Todd, that's not what I said. > > > > > > > > I said, try to find out what the domain is set to, then learn to set[/ref][/ref] > it[ref][ref] > > > the > > > > right way. > > > > > > > > How are you setting it now? > > > > -- > > > > John Saunders > > > > Internet Engineer > > > > com > > > > > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#tY6EabZDHA.1744@TK2MSFTNGP12.phx.gbl> [htmlstate] => on_nl2br [postusername] => John [ip] => john.saunders@s [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 14 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > > "John Saunders" wrote in message > > > news:u%phx.gbl... > > > > Todd, > > > > > > > > I meant the _cookie_ domain. > > > > > > > > Please post the code you use to create the cookie. > > > > > > > > -- > > > > John Saunders > > > > Internet Engineer > > > > com > > > > > > > > > > > > "Todd" wrote in message > > > > news:%phx.gbl... > > > > > The domain is set to my machine name (todd_sloan). > > > > > > > > > > How do I change it? > > > > > > > > > > > > > > > "John Saunders" wrote in message > > > > > news:phx.gbl... > > > > > > "Todd" wrote in message > > > > > > news:phx.gbl... > > > > > > > Yeah, I will try to hardcode the domain field path for the[/ref][/ref] > cookie[ref][ref] > > > and > > > > > see > > > > > > if > > > > > > > that works. If not I will just scratch everything and keep[/ref][/ref] > client[ref][ref] > > > > state > > > > > on > > > > > > > an parent IFrame or something..at least I know that works. > > > > > > > hehe > > > > > > > > > > > > Todd, that's not what I said. > > > > > > > > > > > > I said, try to find out what the domain is set to, then learn to[/ref][/ref] > set[ref][ref] > > > it > > > > > the > > > > > > right way. > > > > > > > > > > > > How are you setting it now? > > > > > > -- > > > > > > John Saunders > > > > > > Internet Engineer > > > > > > com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#tY6EabZDHA.1744@TK2MSFTNGP12.phx.gbl> <#fdDk0bZDHA.1620@TK2MSFTNGP12.phx.gbl> [htmlstate] => on_nl2br [postusername] => John [ip] => john.saunders@s [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 15 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Working like a champ now. Thanks for all the help John. You pointed me in the right direction. Voice of reason.. hehe -T "John Saunders" wrote in message news:phx.gbl...[ref] > Todd, I think someone posted in this thread that there is a problem with > cookies and hosts with underscore in the name... > -- > John Saunders > Internet Engineer > com > > > "Todd" wrote in message > news:%phx.gbl...[ref] > > It is the same for both: > > > > "MyWebProject/Menu.htm" > > > > It works great when I type http://localhost/MyWebProject/Menu.htm into[/ref][/ref] the[ref][ref] > > Browser. > > > > If does not work when I type http://todd_sloan/MyWebProject/Menu.htm[/ref][/ref] into[ref][ref] > > the Browser. > > > > Odd? > > > > > > "John Saunders" wrote in message > > news:phx.gbl...[ref] > > > Todd, what is window.location.pathname in the case where it works and[/ref][/ref] > the[ref][ref] > > > case where it does not work? > > > > > > > > > -- > > > John Saunders > > > Internet Engineer > > > com > > > > > > > > > > > > -- > > > John Saunders > > > Internet Engineer > > > com > > > > > > > > > "Todd" wrote in message > > > news:phx.gbl... > > > > > > > > > > > > > > > > "John Saunders" wrote in message > > > > news:u%phx.gbl... > > > > > Todd, > > > > > > > > > > I meant the _cookie_ domain. > > > > > > > > > > Please post the code you use to create the cookie. > > > > > > > > > > -- > > > > > John Saunders > > > > > Internet Engineer > > > > > com > > > > > > > > > > > > > > > "Todd" wrote in message > > > > > news:%phx.gbl... > > > > > > The domain is set to my machine name (todd_sloan). > > > > > > > > > > > > How do I change it? > > > > > > > > > > > > > > > > > > "John Saunders" wrote in message > > > > > > news:phx.gbl... > > > > > > > "Todd" wrote in message > > > > > > > news:phx.gbl... > > > > > > > > Yeah, I will try to hardcode the domain field path for the[/ref] > > cookie[ref] > > > > and > > > > > > see > > > > > > > if > > > > > > > > that works. If not I will just scratch everything and keep[/ref] > > client[ref] > > > > > state > > > > > > on > > > > > > > > an parent IFrame or something..at least I know that works. > > > > > > > > hehe > > > > > > > > > > > > > > Todd, that's not what I said. > > > > > > > > > > > > > > I said, try to find out what the domain is set to, then learn[/ref][/ref][/ref] to[ref][ref] > > set[ref] > > > > it > > > > > > the > > > > > > > right way. > > > > > > > > > > > > > > How are you setting it now? > > > > > > > -- > > > > > > > John Saunders > > > > > > > Internet Engineer > > > > > > > com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#tY6EabZDHA.1744@TK2MSFTNGP12.phx.gbl> <#fdDk0bZDHA.1620@TK2MSFTNGP12.phx.gbl> [htmlstate] => on_nl2br [postusername] => Todd [ip] => tsloan@smithdat [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 16 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > > > > > > "John Saunders" wrote in message > > > > news:u%phx.gbl... > > > > > Todd, > > > > > > > > > > I meant the _cookie_ domain. > > > > > > > > > > Please post the code you use to create the cookie. > > > > > > > > > > -- > > > > > John Saunders > > > > > Internet Engineer > > > > > com > > > > > > > > > > > > > > > "Todd" wrote in message > > > > > news:%phx.gbl... > > > > > > The domain is set to my machine name (todd_sloan). > > > > > > > > > > > > How do I change it? > > > > > > > > > > > > > > > > > > "John Saunders" wrote in message > > > > > > news:phx.gbl... > > > > > > > "Todd" wrote in message > > > > > > > news:phx.gbl... > > > > > > > > Yeah, I will try to hardcode the domain field path for the[/ref] > > cookie[ref] > > > > and > > > > > > see > > > > > > > if > > > > > > > > that works. If not I will just scratch everything and keep[/ref] > > client[ref] > > > > > state > > > > > > on > > > > > > > > an parent IFrame or something..at least I know that works. > > > > > > > > hehe > > > > > > > > > > > > > > Todd, that's not what I said. > > > > > > > > > > > > > > I said, try to find out what the domain is set to, then learn[/ref][/ref][/ref] to[ref][ref] > > set[ref] > > > > it > > > > > > the > > > > > > > right way. > > > > > > > > > > > > > > How are you setting it now? > > > > > > > -- > > > > > > > John Saunders > > > > > > > Internet Engineer > > > > > > > com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <#UeUmjcZDHA.1280@tk2msftngp13.phx.gbl> [ref] => <#tY6EabZDHA.1744@TK2MSFTNGP12.phx.gbl> <#fdDk0bZDHA.1620@TK2MSFTNGP12.phx.gbl> [htmlstate] => on_nl2br [postusername] => MS [ip] => "MS News \ [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 17 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > > > > > > > > > > > "John Saunders" wrote in message > > > > > news:u%phx.gbl... > > > > > > Todd, > > > > > > > > > > > > I meant the _cookie_ domain. > > > > > > > > > > > > Please post the code you use to create the cookie. > > > > > > > > > > > > -- > > > > > > John Saunders > > > > > > Internet Engineer > > > > > > com > > > > > > > > > > > > > > > > > > "Todd" wrote in message > > > > > > news:%phx.gbl... > > > > > > > The domain is set to my machine name (todd_sloan). > > > > > > > > > > > > > > How do I change it? > > > > > > > > > > > > > > > > > > > > > "John Saunders" wrote in[/ref][/ref][/ref] message[ref][ref][ref] > > > > > > > news:phx.gbl... > > > > > > > > "Todd" wrote in message > > > > > > > > news:phx.gbl... > > > > > > > > > Yeah, I will try to hardcode the domain field path for the > > > cookie > > > > > and > > > > > > > see > > > > > > > > if > > > > > > > > > that works. If not I will just scratch everything and keep > > > client > > > > > > state > > > > > > > on > > > > > > > > > an parent IFrame or something..at least I know that works. > > > > > > > > > hehe > > > > > > > > > > > > > > > > Todd, that's not what I said. > > > > > > > > > > > > > > > > I said, try to find out what the domain is set to, then[/ref][/ref][/ref] learn[ref] > to[ref][ref] > > > set > > > > > it > > > > > > > the > > > > > > > > right way. > > > > > > > > > > > > > > > > How are you setting it now? > > > > > > > > -- > > > > > > > > John Saunders > > > > > > > > Internet Engineer > > > > > > > > com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <#MlyCncZDHA.2572@TK2MSFTNGP09.phx.gbl> [ref] => <#tY6EabZDHA.1744@TK2MSFTNGP12.phx.gbl> <#fdDk0bZDHA.1620@TK2MSFTNGP12.phx.gbl> <#UeUmjcZDHA.1280@tk2msftngp13.phx.gbl> [htmlstate] => on_nl2br [postusername] => John [ip] => john.saunders@s [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 18 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> Client Side Cookies IIS, HELP! - ASP.NET General

Client Side Cookies IIS, HELP! - ASP.NET General

OK, I created a .htm page within a new Web solution: -------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Menu</title> <meta name=vs_defaultClientScript content="JavaScript"> <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5"> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"> <meta name=ProgId content=VisualStudio.HTML> <meta name=Originator content="Microsoft Visual Studio .NET 7.1"> <style> <!-- #foldheader{cursor:pointer;cursor:hand ; font-weight:bold ; list-style-image:url(fold.gif)} #foldinglist{list-style-image:url(list.gif)} //--> </style> <script language="JavaScript1.2"> <!-- //Smart Folding Menu tree- By Dynamic Drive (rewritten 03/03/02) //For full source code and more DHTML scripts, visit http://www.dynamicdrive.com //This credit MUST stay intact for use var head="display:''" img1=new Image() img1.src="fold.gif" img2=new Image() img2.src="open.gif" var ns6=doent.getElementById&&!doent.all var ie4=doent.all&&navigator.userAgent.indexOf("Ope ra")==-1 function checkcontained(e){ var ...

  1. #1

    Default Client Side Cookies IIS, HELP!

    OK,

    I created a .htm page within a new Web solution:
    --------------------------------------------------------

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Menu</title>
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema
    content="http://schemas.microsoft.com/intellisense/ie5">
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name=ProgId content=VisualStudio.HTML>
    <meta name=Originator content="Microsoft Visual Studio .NET 7.1">

    <style>
    <!--
    #foldheader{cursor:pointer;cursor:hand ; font-weight:bold ;
    list-style-image:url(fold.gif)}
    #foldinglist{list-style-image:url(list.gif)}
    //-->
    </style>
    <script language="JavaScript1.2">
    <!--

    //Smart Folding Menu tree- By Dynamic Drive (rewritten 03/03/02)
    //For full source code and more DHTML scripts, visit
    http://www.dynamicdrive.com
    //This credit MUST stay intact for use

    var head="display:''"
    img1=new Image()
    img1.src="fold.gif"
    img2=new Image()
    img2.src="open.gif"

    var ns6=doent.getElementById&&!doent.all
    var ie4=doent.all&&navigator.userAgent.indexOf("Ope ra")==-1

    function checkcontained(e){
    var iscontained=0
    cur=ns6? e.target : event.srcElement
    i=0
    if (cur.id=="foldheader")
    iscontained=1
    else
    while (ns6&&cur.parentNode||(ie4&&cur.parentElement)){
    if (cur.id=="foldheader"||cur.id=="foldinglist"){
    iscontained=(cur.id=="foldheader")? 1 : 0
    break
    }
    cur=ns6? cur.parentNode : cur.parentElement
    }

    if (iscontained){
    var foldercontent=ns6? cur.nextSibling.nextSibling : cur.all.tags("UL")[0]
    if (foldercontent.style.display=="none"){
    foldercontent.style.display=""
    cur.style.listStyleImage="url(open.gif)"
    }
    else{
    foldercontent.style.display="none"
    cur.style.listStyleImage="url(fold.gif)"
    }
    }
    }

    if (ie4||ns6)
    doent.onclick=checkcontained

    //-->
    </script>

    </head>
    <body MS_POSITIONING="GridLayout">
    <font face="Verdana">

    <ul>
    <li id="foldheader">News</li>
    <ul id="foldinglist" style="display:none" style=&{head};>
    <li><a href="http://www.cnn.com">CNN</a></li>
    <li><a href="http://www.abcnews.com">ABC News</a></li>
    <li><a href="http://www.news.bbc.co.uk">BBC News</a></li>
    </ul>

    <li id="foldheader">Webmaster</li>
    <ul id="foldinglist" style="display:none" style=&{head};>
    <li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
    <li><a href="http://www.javascriptkit.com">JavaScript Kit</a></li>
    <li><a href="http://www.freewarejava.com">Freewarejava.com</a></li>
    </ul>

    <li id="foldheader">Nested Example</li>
    <ul id="foldinglist" style="display:none" style=&{head};>
    <li><a href="http://www.dynamicdrive.com">outer 1</a></li>
    <li><a href="http://www.dynamicdrive.com">outer 2</a></li>
    <li id="foldheader">Nested</li>
    <ul id="foldinglist" style="display:none" style=&{head};>
    <li><a href="http://www.dynamicdrive.com">nested 1</a></li>
    <li><a href="http://www.dynamicdrive.com">nested 2</a></li>
    </ul>
    <li><a href="http://www.dynamicdrive.com">outer 3</a></li>
    <li><a href="http://www.dynamicdrive.com">outer 4</a></li>
    </ul>
    </ul>

    </font>

    <p align="center"><font face="Arial" size="-2">Free DHTML scripts provided
    by<br>
    <a href="http://www.dynamicdrive.com">Dynamic Drive</a></font></p>

    <script language="JavaScript1.2">
    <!--

    function get_cookie(Name) {
    //Get cookie routine by Shelley Powers
    var search = Name + "="
    var returnvalue = "";
    if (doent.cookie.length > 0) {
    offset = doent.cookie.indexOf(search)
    // if cookie exists
    if (offset != -1) {
    offset += search.length
    // set index of beginning of value
    end = doent.cookie.indexOf(";", offset);
    // set index of end of cookie value
    if (end == -1) end = doent.cookie.length;
    returnvalue=unescape(doent.cookie.substring(off set, end))
    }
    }
    return returnvalue;
    }

    var foldercontentarray=new Array()
    var c=0

    if (ns6){
    for (i=0;i<doent.getElementsByTagName("UL").length; i++){
    if (doent.getElementsByTagName("UL")[i].id=="foldinglist"){
    foldercontentarray[c]=doent.getElementsByTagName("UL")[i]
    c++
    }
    }
    }

    if (get_cookie(window.location.pathname) != ''){
    var openresults=get_cookie(window.location.pathname).s plit(" ")
    for (i=0 ; i < openresults.length ; i++){
    if (ns6){
    foldercontentarray[openresults[i]].style.display=''

    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis
    tStyleImage="url(open.gif)"
    }
    else{
    foldinglist[openresults[i]].style.display=''




    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag
    e="url(open.gif)"
    }
    }
    }

    if (ns6||ie4){
    var nodelength=ns6? c-1 : foldinglist.length-1
    var nodes=new Array(nodelength)
    var openones=''
    }

    function checkit(){
    for (i=0 ; i <= nodelength ; i++){
    if
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style.
    display==''))
    openones=openones + " " + i
    }
    doent.cookie=window.location.pathname+"="+openo nes
    }

    if (ns6||ie4)
    window.onunload=checkit
    //-->
    </script>

    </body>
    </html>
    --------------------------------------------------------

    When I compile it, or run it straight from IIS, it will not keep cookie
    state for the menu selection (not-working).

    When I open the webroot folder directly from the C drive (windows explorer)
    and dclick the .htm file, it opens and it keeps cookie state on the menus
    (working)

    What do I have to configure in order to make this work when I run the page
    from IIS??

    Thanks!

    -Todd


    Todd Guest

  2. #2

    Default Re: Client Side Cookies IIS, HELP!

    "Todd" <net> wrote in message
    news:phx.gbl... 

    ....

    Todd,

    IIS has nothing to do with cookies.

    The difference you may be seeing would be between requesting the page via a
    http: url and requesting it via a file: URL (which I believe is what happens
    when you just double click in Windows Explorer). In particular, the domain
    of the cookie may not match.

    There's no way I'm going to read such a large amount of code looking for
    this problem. I recommend that you isolate this problem down to just the
    cookie issue and see if that helps you. If not, then please post the much
    smaller reproducer and I'll be glad to take a look.

    Maybe someone else with more patience can see the problem right away?
    --
    John Saunders
    Internet Engineer
    com


    John Guest

  3. #3

    Default Re: Client Side Cookies IIS, HELP!

    Todd,

    When I run this code on my machine I get the same result both ways "dclick"
    or browse it
    I can not go through the entire code but what are the bad simptoms??


    "Todd" <net> wrote in message
    news:phx.gbl... 
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. 
    explorer) 


    MS Guest

  4. #4

    Default Client Side Cookies IIS, HELP!

    if your machine name has an underscore in it that can also
    cause problems.

    Dan

     
    Transitional//EN"> 
    Studio .NET 7.1"> 
    Studio .NET 7.1"> 
    weight:bold ; 
    03/03/02) 
    ==-1 
    cur.all.tags("UL")[0] 
    {head};> 
    News</a></li> 
    News</a></li> 
    {head};> 
    Drive</a></li> 
    href="http://www.javascriptkit.com">JavaScript Kit</a></li> 
    href="http://www.freewarejava.com">Freewarejava.com</a></li 
    {head};> 
    1</a></li> 
    2</a></li> 
    {head};> 
    1</a></li> 
    2</a></li> 
    3</a></li> 
    4</a></li> 
    scripts provided 
    Drive</a></font></p> 
    (offset, end)) 

    [i].id=="foldinglist"){ 
    [i] 
    (window.location.pathname).split(" ") 
    [i]].previousSibling.previousSibling.style.lis 
    1].style.listStyleImag 
    (ie4&&foldinglist[i].style. 
    not keep cookie 
    (windows explorer) 
    state on the menus 
    when I run the page 
    Dan Guest

  5. #5

    Default Re: Client Side Cookies IIS, HELP!

    Guys, I don't think its problems with the source code.

    When I open the page via http://localhost/Menu.htm each time I expand a menu
    and refresh the page, the menus always default to all being closed - not
    writing to the doent.cookie (stateless)

    When I open the page via C:\Inetpub\wwwroot\Menu.htm each time I expand a
    menu and refresh the page, the menus keep state, code writes to the
    doent.cookie.

    All I am trying to do is add/implement a static tree navigation menu into an
    ASP.NET application I have coded - and I want to keep the navigation state
    (which menus the user has expanded, etc) on the client, not the server..

    It was not a problem in the asp environment, but seems to be killing me in
    asp.net
    hehe

    I can't figure out why it will not write to the doent.cookie when I call
    the page via http...


    "MS News (MS ILM)" <com> wrote in message
    news:phx.gbl... 
    "dclick" [/ref]
    cur.all.tags("UL")[0] [/ref]
    href="http://www.freewarejava.com">Freewarejava.com</a></li> [/ref]
    provided 
    >[/ref]
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    >[/ref]
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    >[/ref]
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. 
    > explorer) [/ref]
    menus [/ref]
    page 
    >
    >[/ref]


    Todd Guest

  6. #6

    Default Re: Client Side Cookies IIS, HELP!

    "Todd" <net> wrote in message
    news:phx.gbl... 
    menu 

    Todd, like I said. Remove the complications of the menu code and concentrate
    on the cookie problem. You'll probably find that the problem is the domain
    field of the cookie. It needs to be blank for localhost.
    --
    John Saunders
    Internet Engineer
    com



    John Guest

  7. #7

    Default Re: Client Side Cookies IIS, HELP!

    Yeah, I will try to hardcode the domain field path for the cookie and see if
    that works. If not I will just scratch everything and keep client state on
    an parent IFrame or something..at least I know that works.
    hehe

    Thanks John

    -Todd


    "John Saunders" <com> wrote in message
    news:phx.gbl... 
    > menu [/ref]

    >
    > Todd, like I said. Remove the complications of the menu code and[/ref]
    concentrate 


    Todd Guest

  8. #8

    Default Re: Client Side Cookies IIS, HELP!

    "Todd" <net> wrote in message
    news:phx.gbl... 
    if 

    Todd, that's not what I said.

    I said, try to find out what the domain is set to, then learn to set it the
    right way.

    How are you setting it now?
    --
    John Saunders
    Internet Engineer
    com



    John Guest

  9. #9

    Default Re: Client Side Cookies IIS, HELP!

    The domain is set to my machine name (todd_sloan).

    How do I change it?


    "John Saunders" <com> wrote in message
    news:phx.gbl... [/ref]
    see [/ref]
    on 
    >
    > Todd, that's not what I said.
    >
    > I said, try to find out what the domain is set to, then learn to set it[/ref]
    the 


    Todd Guest

  10. #10

    Default Re: Client Side Cookies IIS, HELP!

    Todd,

    Still works in here


    "Todd" <net> wrote in message
    news:phx.gbl... 
    menu 
    an 
    call 
    > "dclick" [/ref]
    > cur.all.tags("UL")[0] [/ref][/ref]
    Kit</a></li> [/ref]
    > href="http://www.freewarejava.com">Freewarejava.com</a></li> [/ref]
    > provided 
    > >[/ref]
    >[/ref]
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    > >[/ref]
    >[/ref]
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    > >[/ref]
    >[/ref]
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. [/ref][/ref]
    cookie 
    > > explorer) [/ref]
    > menus [/ref]
    > page 
    > >
    > >[/ref]
    >
    >[/ref]


    MS Guest

  11. #11

    Default Re: Client Side Cookies IIS, HELP!

    Dan,

    You totally ROCK

    "Dan" <com> wrote in message
    news:0b5101c365ae$1ded1f20$gbl... 
    > Transitional//EN"> 
    > Studio .NET 7.1"> 
    > Studio .NET 7.1"> 
    > weight:bold ; 
    > 03/03/02) 
    > ==-1 
    > cur.all.tags("UL")[0] 
    > {head};> 
    > News</a></li> 
    > News</a></li> 
    > {head};> 
    > Drive</a></li> 
    > href="http://www.javascriptkit.com">JavaScript Kit</a></li> 
    > href="http://www.freewarejava.com">Freewarejava.com</a></li 
    > {head};> 
    > 1</a></li> 
    > 2</a></li> 
    > {head};> 
    > 1</a></li> 
    > 2</a></li> 
    > 3</a></li> 
    > 4</a></li> 
    > scripts provided 
    > Drive</a></font></p> 
    > (offset, end)) 
    > { 
    > [i].id=="foldinglist"){ 
    > [i] 
    > (window.location.pathname).split(" ") 
    > [i]].previousSibling.previousSibling.style.lis 
    > 1].style.listStyleImag 
    > (ie4&&foldinglist[i].style. 
    > not keep cookie 
    > (windows explorer) 
    > state on the menus 
    > when I run the page [/ref]


    MS Guest

  12. #12

    Default Re: Client Side Cookies IIS, HELP!

    Todd,

    I meant the _cookie_ domain.

    Please post the code you use to create the cookie.

    --
    John Saunders
    Internet Engineer
    com


    "Todd" <net> wrote in message
    news:%phx.gbl... [/ref]
    > see [/ref][/ref]
    state 
    > >
    > > Todd, that's not what I said.
    > >
    > > I said, try to find out what the domain is set to, then learn to set it[/ref]
    > the 
    >
    >[/ref]


    John Guest

  13. #13

    Default Re: Client Side Cookies IIS, HELP!

    <script language="JavaScript1.2">
    <!--

    function get_cookie(Name) {
    //Get cookie routine by Shelley Powers
    var search = Name + "="
    var returnvalue = "";
    if (doent.cookie.length > 0) {
    offset = doent.cookie.indexOf(search)
    // if cookie exists
    if (offset != -1) {
    offset += search.length
    // set index of beginning of value
    end = doent.cookie.indexOf(";", offset);
    // set index of end of cookie value
    if (end == -1) end = doent.cookie.length;
    returnvalue=unescape(doent.cookie.substring(off set, end))
    }
    }
    return returnvalue;
    }

    var foldercontentarray=new Array()
    var c=0

    if (ns6){
    for (i=0;i<doent.getElementsByTagName("UL").length; i++){
    if (doent.getElementsByTagName("UL")[i].id=="foldinglist"){
    foldercontentarray[c]=doent.getElementsByTagName("UL")[i]
    c++
    }
    }
    }

    if (get_cookie(window.location.pathname) != ''){
    var openresults=get_cookie(window.location.pathname).s plit(" ")
    for (i=0 ; i < openresults.length ; i++){
    if (ns6){
    foldercontentarray[openresults[i]].style.display=''

    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis
    tStyleImage="url(open.gif)"
    }
    else{
    foldinglist[openresults[i]].style.display=''




    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag
    e="url(open.gif)"
    }
    }
    }

    if (ns6||ie4){
    var nodelength=ns6? c-1 : foldinglist.length-1
    var nodes=new Array(nodelength)
    var openones=''
    }

    function checkit(){
    for (i=0 ; i <= nodelength ; i++){
    if
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style.
    display==''))
    openones=openones + " " + i
    }
    doent.cookie=window.location.pathname+"="+openo nes
    }

    if (ns6||ie4)
    window.onunload=checkit
    //-->
    </script>


    "John Saunders" <com> wrote in message
    news:u%phx.gbl... [/ref][/ref]
    and [/ref]
    > state [/ref][/ref]
    it 
    > >
    > >[/ref]
    >
    >[/ref]


    Todd Guest

  14. #14

    Default Re: Client Side Cookies IIS, HELP!

    Todd, what is window.location.pathname in the case where it works and the
    case where it does not work?


    --
    John Saunders
    Internet Engineer
    com



    --
    John Saunders
    Internet Engineer
    com


    "Todd" <net> wrote in message
    news:phx.gbl... 
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. [/ref]
    > and 
    > > state [/ref]
    > it 
    > >
    > >[/ref]
    >
    >[/ref]


    John Guest

  15. #15

    Default Re: Client Side Cookies IIS, HELP!

    Todd, I think someone posted in this thread that there is a problem with
    cookies and hosts with underscore in the name...
    --
    John Saunders
    Internet Engineer
    com


    "Todd" <net> wrote in message
    news:%phx.gbl... [/ref]
    the 
    > >[/ref]
    >[/ref]
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    > >[/ref]
    >[/ref]
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    > >[/ref]
    >[/ref]
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. [/ref]
    > cookie [/ref]
    > client [/ref]
    > set 
    > >
    > >[/ref]
    >
    >[/ref]


    John Guest

  16. #16

    Default Re: Client Side Cookies IIS, HELP!

    Got it working!

    Yeah I have like 10-15 different aspx pages all sharing the same .htm menu
    () and what it was doing was creating a cookie for the menu state on each
    aspx. page...hehe

    So I forced the cookie to be created in one page, in the IFrame's parent,
    and then hardcoded the window.location.pathname
    ("/ClerkOfCourt/CourtIndexing/MainNavigator.aspx")

    <script language="JavaScript">
    <!--
    function get_cookie(Name)
    {
    var search = Name + "="
    var returnvalue = "";
    if (parent.doent.cookie.length > 0)
    {
    offset = parent.doent.cookie.indexOf(search)
    // if cookie exists
    if (offset != -1)
    {
    offset += search.length
    // set index of beginning of value
    end = parent.doent.cookie.indexOf(";", offset);
    // set index of end of cookie value
    if (end == -1) end = parent.doent.cookie.length;
    returnvalue=unescape(parent.doent.cookie.substr ing(offset, end))
    }
    }
    return returnvalue;
    }

    var foldercontentarray=new Array()
    var c=0

    if (get_cookie("/ClerkOfCourt/CourtIndexing/MainNavigator.aspx") != '')
    {
    var
    openresults=get_cookie("/ClerkOfCourt/CourtIndexing/MainNavigator.aspx").spl
    it(" ")
    for (i=0 ; i < openresults.length ; i++)
    {
    if (ns6)
    {
    foldercontentarray[openresults[i]].style.display=''
    }
    else
    {
    foldinglist[openresults[i]].style.display=''
    }
    }
    }

    if (ns6||ie4)
    {
    var nodelength=ns6? c-1 : foldinglist.length-1
    var nodes=new Array(nodelength)
    var openones=''
    }

    function checkit()
    {
    for (i=0 ; i <= nodelength ; i++)
    {
    if
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style.
    display==''))
    openones=openones + " " + i
    }
    //parent.doent.cookie=window.location.pathname+"= "+openones

    parent.doent.cookie="/ClerkOfCourt/CourtIndexing/MainNavigator.aspx="+ope
    nones
    alert(parent.doent.cookie)
    }

    if (ns6||ie4)
    window.onunload=checkit
    //-->
    </script>


    Working like a champ now.

    Thanks for all the help John. You pointed me in the right direction. Voice
    of reason..
    hehe

    -T

    "John Saunders" <com> wrote in message
    news:phx.gbl... [/ref]
    the [/ref]
    into [/ref]
    > the 
    > >[/ref]
    >[/ref]
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    > >[/ref]
    >[/ref]
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    > >[/ref]
    >[/ref]
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. 
    > > cookie 
    > > client [/ref][/ref]
    to 
    > >
    > >[/ref]
    >
    >[/ref]


    Todd Guest

  17. #17

    Default Re: Client Side Cookies IIS, HELP!

    Good job John.

    "John Saunders" <com> wrote in message
    news:phx.gbl... [/ref]
    the [/ref]
    into [/ref]
    > the 
    > >[/ref]
    >[/ref]
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    > >[/ref]
    >[/ref]
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    > >[/ref]
    >[/ref]
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. 
    > > cookie 
    > > client [/ref][/ref]
    to 
    > >
    > >[/ref]
    >
    >[/ref]


    MS Guest

  18. #18

    Default Re: Client Side Cookies IIS, HELP!

    Yeah, I guess if you spend enough time debugging your own cookie errors, you
    can sometimes help some else with theirs. :-)

    --
    John Saunders
    Internet Engineer
    com


    "MS News (MS ILM)" <com> wrote in message
    news:%phx.gbl... [/ref]
    > the [/ref]
    > into [/ref][/ref]
    and 
    > >[/ref]
    >[/ref]
    foldercontentarray[openresults[i]].previousSibling.previousSibling.style.lis 
    > >[/ref]
    >[/ref]
    doent.all[foldinglist[openresults[i]].sourceIndex -1].style.listStyleImag 
    > >[/ref]
    >[/ref]
    ((ns6&&foldercontentarray[i].style.display=='')||(ie4&&foldinglist[i].style. [/ref][/ref]
    message [/ref][/ref]
    learn 
    > >
    > >[/ref]
    >
    >[/ref]


    John Guest

Similar Threads

  1. flashcom: client side cant access server side
    By u_sq in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: June 28th, 09:16 PM
  2. Controls with a client side onLoad function or seting a cursor server side
    By Geoff Davis in forum ASP.NET Building Controls
    Replies: 3
    Last Post: January 15th, 03:54 AM
  3. Replies: 9
    Last Post: October 17th, 07:25 PM
  4. server-side ASP w/ client -side component
    By Miguel Guerreiro in forum ASP Components
    Replies: 1
    Last Post: August 5th, 12:09 AM
  5. button evet ---- server side - client side ???
    By yaya coco in forum ASP.NET General
    Replies: 1
    Last Post: July 4th, 10:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •