Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Can you tell in ASP if the back button has been pressed?

Reply
Thread Tools

Can you tell in ASP if the back button has been pressed?

 
 
Kevin Audleman
Guest
Posts: n/a
 
      04-02-2007
Hello,

Is there a way to determine if a user has navigated to a page by
clicking the back button? I've got a page that dynamically generates a
form and submits it, the problem being that clicking the back button
has the effect of resubmitting the form. I'd like the back button to
work if at all possible.

Thanks,
Kevin

 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      04-02-2007
you store a transaction guid in a hidden field. then you store the guid
on the server when posted back. then on a second postback from
browser/firewall/proxy you can detect its happened already.

-- bruce (sqlwork.com)

Kevin Audleman wrote:
> Hello,
>
> Is there a way to determine if a user has navigated to a page by
> clicking the back button? I've got a page that dynamically generates a
> form and submits it, the problem being that clicking the back button
> has the effect of resubmitting the form. I'd like the back button to
> work if at all possible.
>
> Thanks,
> Kevin
>

 
Reply With Quote
 
 
 
 
Kevin Audleman
Guest
Posts: n/a
 
      04-03-2007
Thanks Bruce. How do I store a transaction guid on the server?

On Apr 2, 4:29 pm, bruce barker <nos...@nospam.com> wrote:
> you store a transaction guid in a hidden field. then you store the guid
> on the server when posted back. then on a second postback from
> browser/firewall/proxy you can detect its happened already.
>
> -- bruce (sqlwork.com)
>
> Kevin Audleman wrote:
> > Hello,

>
> > Is there a way to determine if a user has navigated to a page by
> > clicking the back button? I've got a page that dynamically generates a
> > form and submits it, the problem being that clicking the back button
> > has the effect of resubmitting the form. I'd like the back button to
> > work if at all possible.

>
> > Thanks,
> > Kevin



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I tell if someone has been using my computer collegearchive3@gmail.com Computer Support 7 09-14-2007 08:53 AM
How can I tell how long my system has been up since last reboot? Larry Hodges Windows 64bit 4 05-09-2006 03:03 PM
The printing has been stopped and this job has been add to the queu? dejola Computer Support 6 12-30-2005 03:26 AM
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl. jorge ASP .Net 2 05-25-2004 11:45 PM
Please take a look at my site and tell me what you think. Everything here has been shot digital high res. Dan Digital Photography 6 11-05-2003 07:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57