did you try history.clear();

On Wed, Dec 24, 2008 at 12:45 PM, Charan <[email protected]> wrote:
>
> Hi,
>
> After a long time after giving a message with similar question in
> diffferent way to acheive
>
> Is there any way to delete tokens which are added to HIstory using
> History.newItem(), now i need to delete some tokens which i don't
> need
>
> can you give me any suggestion to acheive this, by overding
> javascript , or JSON any suggestion will do
>
> Thanks & regards
> Charan
>
> On Oct 30, 5:11 pm, "Ian Bambury" <[email protected]> wrote:
>> OK,
>> Well, that might indicate that you should redesign slightly so that you only
>> set it once :-) Re-initialising a number of times would suggest that there
>> is a better design somewhere - not always possible or practicable, I know if
>> you have an existing system.
>>
>> Or maybe you could save the token somewhere and only write it out when the
>> page is set up.
>>
>> *But*... if you write *exactly* the same token multiple times one after the
>> other, you should only get one history entry
>>
>> Ian
>>
>> http://examples.roughian.com
>>
>> 2008/10/30 Charan <[email protected]>
>>
>>
>>
>> > hi Ian,
>> > Thanks for your quick reply.
>> > Actually what i need is i am  storing the History tokens using
>> > newItem(token) ,sometimes i am re intializing some part of code
>> > several times where i am adding same token multiple times.
>> > when i go back to that page it is having four tokens with the same
>> > which i don't want.
>>
>> > On Oct 30, 4:33 pm, "Ian Bambury" <[email protected]> wrote:
>> > > History is a function of the browser.
>> > > If you could clear the history, you could stop people going back to the
>> > page
>> > > they came from.
>>
>> > > Browsers tend to view this as not desirable.
>>
>> > > Ian
>>
>> > >http://examples.roughian.com
>>
>> > > 2008/10/30 Charan <[email protected]>
>>
>> > > > How to clear the tokens in History class , i didn't find any
>> > > > removeToken/tokens methods in History class
>>
>> > > > can i know is there is any way to clear tokens  in history
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to