Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
using cookies before and after closing visual prev
RoseRuby
Hi all
Environment : Teamsite 6.5, Unix
I have a script (ipl file) which generates a html file with javascript embedded in it. The javascript make use of cookies for browse button back functionality (customize). It works fine with the visual preview tool bar. Once I close the visual preview tool bar, everything goes for a toss.
What seems to happen is as soon as you close visual preview, the cookie values are reset. These are the cookies values taken from the cookies folder of local machine after opening the file with the javascript from teamsite.
Before closing Visual preview
1.
IWAUTH
52616e646f6d4956e9b6450cc3bc3a4b77c3cc6c559503b3bfd93aad743c4d1266d5c40a33fbcfafecd54ce95cf771dc2043a01fb327a328
number
>>1024
1093633152
32108263
>>1701029104
29719726
*
After closing the Visual preview
2.
IWAUTH
52616e646f6d4956e9b6450cc3bc3a4b77c3cc6c559503b3bfd93aad743c4d1266d5c40a33fbcfafecd54ce95cf771dc2043a01fb327a328
number
>>1536
1093633152
32108263
>>3085409104
29719726
*
You may notice the difference in value at the ">>" regions. Once you reset the values i.e change 1536 to 1024 and 3085409104 to 1701029104 in the cookies file and continue using the link, everything works fine.
Can some one say me what is happening and what I can do about it so that the javascript works even without visual preview.
Find more posts tagged with
Comments
RoseRuby
Any one , please!!!?
Any insights what could be the reason?
thanks
Rose